News for hackers. Stuff that matters.
Re:Hydration is pure overhead by wonnage on Wednesday April 20, 2022 @04:35PM (#31102637)
> When the javascript arrives it is run again on the browser to re-generate the DOM with event handlers attached.

Not the DOM, but the virtual DOM. Instead of inserting elements (which is expensive), it can just walk the existing server-rendered DOM and attach listeners.

There are no comments on this comment yet.