Header and footer rendering again every page switching
Answered
Mandarin fish posted this in #help-forum
Mandarin fishOP
how to make the header and footer not render again when switching to another page?
3 Replies
@Mandarin fish how to make the header and footer not render again when switching to another page?
put them in
layout.tsx if you are using app routerAnswer
@Ray put them in `layout.tsx` if you are using app router
Mandarin fishOP
thanks you, bro
@Mandarin fish thanks you, bro
please mark solution if your issue has been solved