UNPKG

rnr-starter

Version:

A comprehensive React Native Expo boilerplate with 50+ modern UI components, dark/light themes, i18n, state management, and production-ready architecture

13 lines (9 loc) 373 B
import { registerRootComponent } from 'expo'; import { ExpoRoot } from 'expo-router'; // https://docs.expo.dev/router/reference/troubleshooting/#expo_router_app_root-not-defined // Must be exported or Fast Refresh won't update the context export function App() { const ctx = require.context('./app'); return <ExpoRoot context={ctx} />; } registerRootComponent(App);