Skip to content

Modernize library and add React Router 6 support#110

Open
BezzubovEgor wants to merge 5 commits into
masterfrom
feature/modernize-and-support-rr6
Open

Modernize library and add React Router 6 support#110
BezzubovEgor wants to merge 5 commits into
masterfrom
feature/modernize-and-support-rr6

Conversation

@BezzubovEgor

@BezzubovEgor BezzubovEgor commented Feb 1, 2026

Copy link
Copy Markdown
Owner

This PR modernizes the library by:

  • Rewriting core components from Class to Functional components with Hooks.
  • Adding a new useNavigationConfirm hook for idiomatic React 18 usage.
  • Integrating React Router 6 navigation blocking via UNSAFE_NavigationContext and useBlocker.
  • Upgrading all dependencies (React 18, React Router 6, TS 5, Jest 29).
  • Migrating the test suite from Enzyme to React Testing Library.
  • Fixing build system issues and removing deprecated TypeScript flags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant