How template.tsx and page.tsx should look like in that scenario?
Open in Discord
Russian Toy posted this in #help-forum
Hey, could someone help me solve that problem?
Answered by Russian Toy
View full answer
Risky did start the fire 🙃
whats your problem?
also is there a reason why your not using normal layout?
I'd like to use state in template.tsx and I wonder how tmplate.tsx knows where is the hook for page.tsx (black font)
because (maybe I'm wrong) to render nested page I need to pass children through template AND page.tsx
so somehow it's not possible to put nested page.tsx in a side to page.tsx(black)