DEV Community

Discussion on: Introducing an Alternative to NEXT.js

Collapse
 
bbarbour profile image
Brian Barbour

So when you render javascript on the server, it just sends the markup and content to the browser. Rehydration means that the client side javascript "comes to life" and can function, rather than being static as was sent. It's not really related to performance, as far as I'm aware.

Thread Thread
 
saltyshiomix profile image
Shiono Yoshihide

Thank you for your explanation!

In this point, react-ssr rehydrates DOM so we can use full React features like hooks :)