UNPKG

expo-router

Version:

Expo Router is a file-based router for React Native and web applications.

11 lines (8 loc) 387 B
// `@expo/metro-runtime` MUST be the first import to ensure Fast Refresh works // on web. import '@expo/metro-runtime'; import { App } from 'expo-router/build/qualified-entry'; import { renderRootComponent } from 'expo-router/build/renderRootComponent'; // This file should only import and register the root. No components or exports // should be added here. renderRootComponent(App);