npm install
npm start
open localhost:8080
Scroll restoration allows one to change the scroll position of a dynamic element on the page and then refresh and have the scroll position return to where it had been before the refresh.
- Scroll the nav
- Observe the scroll position
- Refresh
- Observe the same scroll position