Next. js has two forms of pre-rendering: Static Generation and Server -side Rendering. The difference is in when it generates the HTML for a page.
Read moreWhen should we use server-side rendering?
When to use server-side rendering
Read moreIs server-side rendering worth it?
Some server-side rendering advantages include: A server-side rendered application enables pages to load faster, improving the user experience . When rendering server-side, search engines can easily index and crawl content because the content can be rendered before the page is loaded, which is ideal for SEO.
Read moreDo we still need server-side rendering?
Do you always need SSR? The short answer would be no . Not all apps need server-side rendering, especially apps with a dashboard and authentication that will not need SEO or sharing via social media. Plus, the expertise for building a server-rendered React app is higher than an app initialized using create-react-app.
Read more