Content
@
0 reply
0 recast
0 reaction
John ☑️
@narrativ
useLayoutEffect was a mistake?
1 reply
0 recast
1 reaction
Justin Walsh
@thejustinwalsh.eth
Works great in react-native after a debounce, cacheing the result, and applying min/max to it to get the extents.
1 reply
0 recast
0 reaction
Justin Walsh
@thejustinwalsh.eth
My bad, I'm thinking onLayout, but I still need to apply that result of that to dependent elemetns in a useLayoutEffect.
0 reply
0 recast
0 reaction