Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

index.ts

17 lines610 Bytes

1// Must stay first: the render counter wraps the DevTools hook before any React commit.
2import "./src/features/development/render-counter-entry";
3import { registerRootComponent } from "expo";
4import "react-native-gesture-handler";
5import { LogBox } from "react-native";
6import { featureFlags } from "react-native-screens";
7​
8import App from "./src/App";
9​
10// Enables iOS FormSheet sizing for nested native stacks in non-fitToContents sheets.
11featureFlags.experiment.synchronousScreenUpdatesEnabled = true;
12​
13if (process.env.EXPO_PUBLIC_SHOWCASE === "1") {
14 LogBox.ignoreAllLogs();
16​
17registerRootComponent(App);