Great article! It helped me understand routing in Gatsby. It's a lot cleaner. I've also wondered how to keep the navbar on top of each page without importing the NavBar on each page. I've actually made a Layout page for that and added the navbar on top, then wrap all my pages with the Layout. Any thoughts or other techniques?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great article! It helped me understand routing in Gatsby. It's a lot cleaner. I've also wondered how to keep the navbar on top of each page without importing the NavBar on each page. I've actually made a Layout page for that and added the navbar on top, then wrap all my pages with the Layout. Any thoughts or other techniques?