Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ng12
on April 29, 2020
|
parent
|
context
|
favorite
| on:
When does React re-render? Explaining rerenders an...
> And those issues stem more from the diffing and reconciling stages than the actual DOM itself
I don't see how you could know that without reading the code.
seabass
on April 29, 2020
[–]
Because the only update occurring is the changing of text in an input. Yet due to how React works it’s diffing a much larger tree.
tshaddox
on April 30, 2020
|
parent
|
next
[–]
Are you sure there isn’t a slow server request happening before the UI update? I would be very surprised that you’re regularly encountering web sites with noticeably slow React reconciliation. It’s difficult to make that slow.
ng12
on April 30, 2020
|
parent
|
prev
[–]
The diffing is very fast. It would take a ridiculously large tree to start running up against the limits of v8.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I don't see how you could know that without reading the code.