I\'ve read the documentation, but I didn\'t really understand the difference between hydrate()
and render()
in React 16.
I know hydrate()
The entire process of putting functionality back into the HTML that was already rendered in server side React is called hydration.
So the process of re-rendering over the once rendered HTML is referred to as hydration.
So if we try to hydrate our application by calling ReactDOM.render()
its supposed to be done by calling ReactDOM.hydrate()
.