@mapbox/scroll-restorer
Preserve scroll state while navigating client-side routes
Preserve scroll state while navigating client-side routes
Prevent the scroll restoration caused by the popstate event or back/forward buttons.
Support for scroll restoration with React router
Prevent the scroll restoration caused by the popstate event or back/forward buttons.
React hook for scroll restoration