Next.js Discord

Discord Forum

SSR question

Unanswered
Tonkinese posted this in #help-forum
Open in Discord
TonkineseOP
I have a layout file which I fetch my /me endpoint. I then have subsequent server pages which I call other endpoints.

Can I delay the call of other endpoints until the request in /me resolves successfully?

Even if I just return <div>hello</div> in my layout the requests from the main page.tsx still fires off >.>, any ideas appreciated

1 Reply

Sun bear
What exactly are you trying to achieve?