3 ms·
Author here. It might be worth reading part 1, also. Aside from that, yes z-index was because there are multiple SVGs rendered. We also had non-SVG stuff for e
by hicksyfern 3y ago
Author here. It might be worth reading part 1, also.
Aside from that, yes z-index was because there are multiple SVGs rendered. We also had non-SVG stuff for each element like inputs and stuff, plus it was just like that when I got here, and it doesn’t seem unreasonable to me.
Another thing was you said it’s a problem React solves rather than creates. This is very clearly not true.
If you add event listeners to every component which is big-standard React, you end up with 1000s or tens of 1000s of event handlers often doing almost nothing. And sure, JavaScript can do 10_000 lots of almost nothing very quickly, but it’s noticeable when you’ve got a strict frame budget.