Files
RN_Template/RN_TEMPLATE/index.tsx

11 lines
410 B
TypeScript
Raw Permalink Normal View History

2026-02-05 13:16:05 +08:00
import "@expo/metro-runtime" // this is for fast refresh on web w/o expo-router
import "./global.css"
import { registerRootComponent } from "expo"
import { App } from "@/app"
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
// It also ensures that whether you load the app in Expo Go or in a native build,
// the environment is set up appropriately
registerRootComponent(App)