Does useBlocker works with createMemoryRouter? #11299
Unanswered
marcelogiarola
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to implement useBlocker on an app the uses MemoryRouter (created with createMemoryRouter function), but its not working (the BlockerFunction is called after the navigation via NavLink has already ocurred). This application is a WordPress plugin, that's why I'm using MemoryRouter and not BrowserRouter.
Beta Was this translation helpful? Give feedback.
All reactions