Use next/link to render page without rerendering header
Answered
Giant Chinchilla posted this in #help-forum
Giant ChinchillaOP
I'm quite advanced with NextJS/React, but I'm a bit confused on how to accomplish this:
I want to have a header in my dashboard that is not re-rendered when using
I want to have a header in my dashboard that is not re-rendered when using
next/link
to go to different pages in the dashboard. Whats the best way to accomplish this?2 Replies
Asian black bear
If you are using the app router you get this out of the box when combining layouts and only changing pages inside of those.
Asian black bear
Answer