React - Hydrate

About

hydrating a react page is a client side operation that happens on server-rendered markup (SSR) pages.

The hydrate function:

The hydratation will:

  • preserve the rendered content
  • and attach event handlers / listeners to the existing markup.

For more information, see Client side operations on server-rendered markup page for an hydration example.





Discover More
How to render React on the Server (SSR) in Static Markup (renderToStaticMarkup)?

This page shows you how to render React in a static HTML page (known in React as static markup) - ie only HTML element without any React properties or React library. The page then doesn't need to be hydrated....
React - Server-rendered markup (renderToString / hydrate)

server-rendered markup is the dynamic possibility of server-side rendering (vs static). The steps are: the web server returns a web page where the root component has been rendered as HTML with special...
React - Server Side Rendering (SSR) - DOM Server

This page is server side rendering (SSR) in React as opposed to the browser rendering. The server side rendering (SSR) functionality in React can output two types of pages: (that will become dynamic...



Share this page:
Follow us:
Task Runner