Complete Scroll restoration and hash #links
handling is addressed primarily by one of our companion packages: redux-first-router-restore-scroll (we like to save you the bytes sent to clients if you don't need it). In most cases all you need to do is:
Example:
import restoreScroll from 'redux-first-router-restore-scroll'
connectRoutes(history, routesMap, { restoreScroll: restoreScroll() })
Visit redux-first-router-restore-scroll for more information and advanced usage.
We got you covered. Please checkout redux-first-router-scroll-container.
We got you covered! Please checkout redux-first-router-scroll-container-native.