You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No history blocking. I found that the only use-case I had was preventing the user from navigating away from a half-filled out form. Not only is it pretty easy to just save the form state to session storage and bring it back when they return, but history blocking doesn’t happen when you navigate away from the app (say to another domain). This kept me from actually using history blocking and always opting to save the form state to session storage.
Something similar to this https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/api/Prompt.md.
The need for the user to confirm before going back the page or clicking a different route if they have unsaved changes.
Currently, this is not possible as it returns
Error: Invariant failed: You should not use <Prompt> outside a <Router>
The text was updated successfully, but these errors were encountered: