Skip to content
Discussion options

You must be logged in to vote

I couldn't find an issue or PR for it yet, so it doesn't look like anyone has started on it. The current @refinedev/react-router (2.0.4) still declares react-router: ^7.0.2 as its peer dependency.

If you want to contribute, the adapter is small. Everything is in packages/react-router/src: bindings.tsx is the routerProvider itself (go, back, parse, Link), and the rest are the helper components (NavigateToResource, CatchAllNavigate, UnsavedChangesNotifier, DocumentTitleHandler).

The part I'd check first against v8 is use-prompt-workaround.ts, which UnsavedChangesNotifier uses. It patches navigator.push/go from UNSAFE_NavigationContext, which is exactly the kind of internal API that tends to…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alimurad-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants