Replies: 1 comment 3 replies
-
Regarding logging, you can only run Node.js-specific code in 3: We're working on a first-class API for redirecting from getStaticProps, but you can do it manually with a HTML head meta tag for now. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So trying to ramp up on the framework and new to React and Next.js.
We are looking at running our application as SSG with Fallback=true vs SSR. So I am trying to understand what runs on the server or does everything run on the server except for what is in the public folder (or built during build time and then ran as static assets).
I ask these questions just so I can be clear about a few situations:
So I think most of my confusion on these items is not clearly understanding where code is run and whether that depends on SSG vs SSR vs SSG w/ Fallback. Trying to bridge React lifecycle methods and where they operate in Next.js.
Hope I was able to explain it okay.
Beta Was this translation helpful? Give feedback.
All reactions