Samuel
@samuel.fm
recently I’ve been using the React Profiler more seriously and I’m quickly finding it to be a very fun and extremely satisfying kind of puzzle in related news, the drawer menu jank might be fixed soon 🎉
2 1 48
Samuel
I still don’t have a good intuition about when parents/children changing will cause rerenders, especially with “donut” components
1 8
Samuel
the cause of the Drawer Jank was every time the drawer opens, it causes the RNGH gesture for the drawer to change, which causes a GestureDetector to rerender, which causes the entire Home Screen to rerender. perf pro tip: don’t make the entire screen rerender
14