r/javascript • • Sep 26 '17

React 16

https://facebook.github.io/react/blog/2017/09/26/react-v16.0.html
379 Upvotes

63 comments sorted by

View all comments

6

u/[deleted] Sep 27 '17

[removed] — view removed comment

5

u/gaearon Sep 27 '17

Hydration = your server gave HTML, and we want to boot up a client up "from" that HTML (and attach events to it) instead of destroying it and rendering from scratch.

3

u/kromit Sep 27 '17

Congratulation on the release :)

Edit: you should do an AMA here one day

3

u/learn_to_model Sep 27 '17 edited Sep 27 '17

Hydration is usually referred to as the process of passing singing data from the server to the client. In this case the server serves the HTML to the client and react can take over the HTML without destroying and recreating it like it was done in the beginning. Hydration can also refer to models bring updated on load with data that has been passed from the server (think of a redux store f.ex.)

3

u/jbkly Sep 27 '17

"passing singing"?

3

u/kylemh Sep 27 '17

Meant signing. Like auth headers I believe.

2

u/learn_to_model Sep 27 '17

Oh shoot, that's my fault. Shouldn't post comments just after I've woken up. What I meant was the process of passing/sending data from the server to the client.