Next.js Discord

Discord Forum

Why gSSP is not getting called ?

Unanswered
Plain Chachalaca posted this in #help-forum
Open in Discord
Plain ChachalacaOP
I have. this folder structure and i am importing this component in pages file in app directory then why gSSP is not calling ?

3 Replies

Giant panda
Because you're not supposed to import a page.
gSSP in the pages router only works when you navigate directly to that page
Why are you even mixing app and pages router to begin with?