From e0b6c934b357d6f48a2b29e101c0aee478bc1d37 Mon Sep 17 00:00:00 2001 From: Daniel Hopkins <702646+drhops@users.noreply.github.com> Date: Fri, 24 Jul 2026 13:50:26 -0700 Subject: [PATCH] Add missing strictMode prop to FlatList TypeScript types strictMode is implemented in FlatList and declared in the Flow types, but absent from the TypeScript definitions, forcing TS users to augment the module to set it. Add it to FlatListProps to match the Flow declaration and runtime. --- packages/react-native/Libraries/Lists/FlatList.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/react-native/Libraries/Lists/FlatList.d.ts b/packages/react-native/Libraries/Lists/FlatList.d.ts index 227220182812..0914329f7833 100644 --- a/packages/react-native/Libraries/Lists/FlatList.d.ts +++ b/packages/react-native/Libraries/Lists/FlatList.d.ts @@ -161,6 +161,11 @@ export interface FlatListProps extends VirtualizedListProps { * @platform android */ fadingEdgeLength?: number | {start: number; end: number} | undefined; + + /** + * Enable an optimization to memoize the item renderer to prevent unnecessary rerenders. + */ + strictMode?: boolean | undefined; } export abstract class FlatListComponent<