Next.js Discord

Discord Forum

Determining if this is the initial page render in a server component

Unanswered
Sun bear posted this in #help-forum
Open in Discord
Sun bearOP
Is there a way to differentiate during rendering of a server component whether it is rendering in the context of an initial page load, or as the result of an SPA navigation / router.refresh() call?

0 Replies