Settings

Theme

Ask HN: How does React hydration work?

5 points by Macintosh007 6 years ago · 1 comment · 1 min read


I've been struggling to fully grasp how React hydration/rehydration works. When using something like Gatsby, is React fully sent to to the client AFTER the static content? Looking for someone to explain it in an easy to understand manner.

pryelluw 6 years ago

This is a good explanation: https://stackoverflow.com/questions/46516395/whats-the-diffe...

TL;DR: It is used to attack event listeners to server rendered apps.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection