
A chronic-care adherence calendar. A full year of dosing days scrolls through a virtualised FlatList opened on today via initialScrollIndex, getItemLayout is derived from a fixed row height so scrollToIndex lands exactly on any date, and a sticky month header follows the topmost viewable day via onViewableItemsChanged held in a useRef. Rows are React.memo'd; tapping a day opens a detail sheet listing that day's doses due, taken and missed — without re-rendering any other row in the list.
A conference schedule screen for a trade-show app. Sessions are grouped by hall in a SectionList with sticky section headers via a memoised sections array built from buildSections, jump-to-hall chips call scrollToLocation with the section index looked up from sectionIndexForHall, and an in-session banner names the first viewable session via firstViewableSession. The onViewableItemsChanged callback is held in a useRef so its identity never changes across unrelated re-renders — React Native throws otherwise.
A used-vehicle stock directory for a dealership app. The catalogue loads via fetch from a configurable apiUrl into a virtualised FlatList with getItemLayout and React.memo'd rows; renderItem is useCallback-memoised so an unrelated re-render leaves its identity unchanged. Make / price / mileage filters compose to narrow the visible set, and a row that stays visible after a filter change does not remount. Tapping a vehicle calls prop-injected navigation.navigate('Detail', { id }) — the detail overlay renders only when route.name === 'Detail' and the list stays mounted behind it so returning does not remount a single row.