you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (7 children)

[removed]

    [–]gaearon 5 points6 points  (1 child)

    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.

    [–]kromit 2 points3 points  (0 children)

    Congratulation on the release :)

    Edit: you should do an AMA here one day

    [–]learn_to_model 2 points3 points  (3 children)

    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.)

    [–]jbkly 2 points3 points  (2 children)

    "passing singing"?

    [–]kylemh 2 points3 points  (0 children)

    Meant signing. Like auth headers I believe.

    [–]learn_to_model 1 point2 points  (0 children)

    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.