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
When using createMemoryHistory and going back in the app, the key in const { state: { key } } = useLocation() is always newly generated. Is it possible to have the same behavior as in createBrowserHistory or react-router and restore the key from the previous location?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When using createMemoryHistory and going back in the app, the key in
const { state: { key } } = useLocation()
is always newly generated. Is it possible to have the same behavior as in createBrowserHistory or react-router and restore the key from the previous location?Beta Was this translation helpful? Give feedback.
All reactions