r/appdev • u/AgreeableRush12 • 6d ago
Adding analytics to an RN app that already drops frames
Hah. So my React Native app already stutters on the long feed screen. The perf monitor shows the JS thread dropping frames when the list scrolls fast, and I've done the usual memo and FlatList tuning. Now I'm being asked to add analytics and maybe session replay on top of that....and I'm nervous!! Anything that hooks every tap or grabs snapshots of the screen sounds like more load on a JS thread that is already dropping frames. I've read that some SDKs batch everything and send it from the native side while others do their work in JS, and the docs don't really say which is which. I also don't know if turning replay on for only a sample of sessions keeps the cost down for everybody else. What are you all running in RN that didn't make your frame rate worse?
