Next.js Discord

Discord Forum

Does nextJs SSR run correctly if the content is inside context provider variables?

Unanswered
Masai Lion posted this in #help-forum
Open in Discord
Masai LionOP
Bsically I want to fetch a lot of content from a generic CMS system. I like to request everything on the root file, and pass the content down using a context provider so it's easier to maintain.
Does that affect SSR on a bad way? I want to generate those pages statically and not on demand, so the SSR I'm talking about is STATIC SITE RENDERING (the equivalent of getStaticProps on the app directory)

0 Replies