3 ms·
> Rarely the big perf hit is in js. The big perf hit is usually layout, composite and paint cycles. You can’t interrupt the browsers native paint cycle. Yes, s
by pcr910303 7y ago
> Rarely the big perf hit is in js. The big perf hit is usually layout, composite and paint cycles. You can’t interrupt the browsers native paint cycle.
Yes, so that's why DOM manipulation is slow. And this change basically allows you to not do DOM manipulation on every tick.
> The browsers gonna do what the browsers gonna do.
The browsers gonna do what the JS code tells what the browsers should do.
> React was simple.
And that was insufficient.
> I don’t get it anymore.
Then you should be looking at hypersrcipt or preact or something else. Nobody is forcing React to you.
- mda 7y ago"Nobody is forcing" is never a good answer. If gp is a react developer, his feedback and feeling about the framework matters.