React - SSR

Server Side Rendering, as the name suggests, is the rendering of the react on the server. This particular feature of react is more connected to specific meta frameworks like NextJSFramework.

It allows to serve prerendered HTML structure of our website. This has many advantages, mainly in the Search Engine Optimization area, as our code is rendered before user will load all of react's scripts.

There are some generic rules when it comes to SSR that will be covered here, but more specific parts are a part of specific framework's roadmaps, not generic react's one

Rehydration idea

I know the idea of the rehydration of the code passed from server on the users machine. I know how specific frameworks pass data during first rendering of the page

Optional rendering vs SEO

I know that optionally rendered part of the code on server will not be included into the prerendered HTML and will not be available for indexing for search engines.

I know that I can hide elements using CSS and provide responsive content using media queries

Server rendering limits

I know that I cannot use window object during SSR and should trigger every part of code that relays on the window or DOM elements inside effects

Icon of React
Icon of SSR
React skill
suggested
SSR
Ready to learn
Required technologies

I know the idea of the rehydration of the code passed from server on the users machine. I know how specific frameworks pass data during first rendering of the page

I know that optionally rendered part of the code on server will not be included into the prerendered HTML and will not be available for indexing for search engines.

I know that I can hide elements using CSS and provide responsive content using media queries

I know that I cannot use window object during SSR and should trigger every part of code that relays on the window or DOM elements inside effects

Close
Loading content