3 ms·
> is that you can't hit that specific pitfall of forcing layout interspersed with DOM or style manipulation. This isn't true though, useLayoutEffects that perf
by SirHound 6y ago
> is that you can't hit that specific pitfall of forcing layout interspersed with DOM or style manipulation.
This isn't true though, useLayoutEffects that perform a read/write littered through your code is going to quite easily induce layout thrashing and there's no way of splitting this throughout a tree
- om2 6y agoOK, this is the part where I have to admit I know a lot less about React than about browser engines. :-)