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
I have just upgraded from v5 to v6 and got stuck using version 4.x of history. It would be nice to mention to upgrade to history 5.x in the upgrade guide.
The text was updated successfully, but these errors were encountered:
History is now a direct dependency of the router, not a peer dep. You shouldn't be installing or directly using it with v6. Everywhere you used history.push() or history.replace() you can now use navigate(). I'll add some notes to the migration docs to make this more clear.
I have just upgraded from v5 to v6 and got stuck using version 4.x of history. It would be nice to mention to upgrade to history 5.x in the upgrade guide.
The text was updated successfully, but these errors were encountered: