Hybrid-SSR [hybrid-ssr]

Hybrid SSR works as follows. If you land on the URL directly then you'll get a SSR page. When you navigate to this page using the links on the website you'll get a CSR page. getInitialProps function is called regardless of how you landed on this page. When you land on this page directly the getInitialProps is called on the server. When you navigated to this page using the links on this website then the getInitialProps is called client-side. A log statement is made in the developer console so you can check it yourself.

Some of the effects of Hybrid-SSR:

This implementation uses getInitialProps.

Page generated on: 7/17/2024, 4:39:52 PM

Regenerate site (takes a minute)