Great post today from a former NYT dev who traced the history of the widespread `useIsomorphicLayoutEffect` snippet back through multiple libs...
and identified "a React-Redux maintainer" as the main source that everyone copied.
Uh. Hi. Yes. That'd be me :)
https://smoores.dev/post/no_such_thing_isomorphic_layout_effect/
and identified "a React-Redux maintainer" as the main source that everyone copied.
Uh. Hi. Yes. That'd be me :)
https://smoores.dev/post/no_such_thing_isomorphic_layout_effect/
Comments
but I've assumed that other devs saw it in React-Redux, figured "the Redux devs _must_ know what they're doing, right?" and copied it. 🤣
so I'm semi-responsible here 🤷♂️
https://github.com/facebook/react/pull/26395