Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
onewaystreet
· 10y ago · 0 comments
It doesn't. The data is included with the rendered page. React uses checksums to tell if it needs to rerender.
Comments
[–]
dustingetz
10y ago
I believe React will always re-render, to attach click handlers and the like.
[–]
Bartkusa
10y ago
This is true. However, if the checksums match, then React can skip tree-diffing and DOM mutations.