View at: [www.hunterdong.com]
Loosely designed in Figma and coded in Visual Studio Code. Built with React and SCSS, deployed with GitHub Pages.
- Scroll Restoration - Most of the time all you need is to “scroll to the top” because you have a long content page, that when navigated to, stays scrolled down. This is straightforward to handle with a component that will scroll the window up on every navigation. Checkout at:[https://v5.reactrouter.com/web/guides/scroll-restoration]
- Hash History - to solve react-router URLs don't work when refreshing or writing manually. Checkout at:[https://stackoverflow.com/questions/27928372/react-router-urls-dont-work-when-refreshing-or-writing-manually]