Types
Types
The types of one tree.
AppProvider
Type
Wraps the whole app once, in one React tree with every screen: what it holds (a store, a query client, a theme) lives as long as the app does, whatever the navigation does.
type AppProvider = ComponentType<{ children: ReactNode }>
ScreenProvider
Type
Wraps every screen on its own.
type ScreenProvider = ComponentType<{ children: ReactNode; screen: ScreenInfo }>