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: 11/21/2024, 6:47:26 AM