Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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



OK, this is the part where I have to admit I know a lot less about React than about browser engines. :-)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: