FlatList jank on low-end devices often comes from measuring every row. Defining getItemLayout with fixed heights skips layout passes entirely — here's how to implement it, verify the gain, and avoid the variable-height trap.
Learn how to replace ScrollView with FlatList, use getItemLayout for fixed‑height items, and tune windowSize to keep memory low while maintaining smooth scrolling.
Large React Native lists drop frames on mid‑range Android because FlatList renders more rows than the JS thread can handle. Tuning props like initialNumToRender, windowSize, and maxToRenderPerBatch smooths scrolling but raises blank‑cell risk.
ScrollView with .map() mounts every item instantly — killing performance on long lists. FlatList virtualizes, recycles, and stays fast. Here's the practical prop configuration that makes it work, a 5,000-row before/after example, and the trade-offs you'll hit with dynamic heights or FlashList.
ScrollView renders every row eagerly; FlatList renders only what's near the viewport. Here's how to tune windowing, guard onEndReached pagination, and use getItemLayout for free performance.
A step‑by‑step diagnostic guide to identify and fix janky FlatList rendering in React Native. Learn how to spot symptoms, audit keyExtractor and renderItem, tune windowing props, add getItemLayout, and when to move to FlashList.
A step‑by‑step diagnostic guide for React Native FlatList scroll jank: identify missing keys, absent getItemLayout, and inline callbacks; apply targeted fixes; verify with PerfMonitor and React DevTools; and know when to escalate to FlashList or native modules.
Learn how to keep FlatList fast and memory‑efficient by using keyExtractor, getItemLayout, memoized rows, and the right initial render settings. Avoid common pitfalls that cause jank or memory spikes.