Avoiding Re-rendering
Unanswered
ᵗʰᵉ Nexus posted this in #help-forum
I'm using the Next.js app directory, and on a page (let's call it A), I'm using server components. Is there a way to use the same rendering of the subcomponents (client components) when the user navigates to another endpoint and returns to page A? In other words, is there an equivalent method to save/memorize the rendering of the subcomponents of the server component?
4 Replies
page is static generated by default
it generate a html file after build
@Ray it generate a html file after build
That really doesn't help me. I would the page components (subcomponents) wouldn't re-render.
Yellowstripe scad
moving your client components to a parent layout?