🌐Hydration
Also known as Client Hydration, Rehydration
Browser code takes over a page the server built. Then its buttons work.
Think of it like
Think of it like a paper plant that comes to life when you add water. It looked right, and now it can move.
Example
Lucy opens a product page. She can read it at once, and half a second later, hydration makes the Add to Cart button work.
Why it matters
Hydration gives you a fast first view and a working app. Most modern frameworks rely on it.
Definition
Common mistake
Key takeaways
- 1Server builds first. HTML arrives ready to read.
- 2Browser takes over. Code wires up the buttons.
- 3Must match. Both sides must render the same.