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

index.ts

18 lines667 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// Required for react-native-screens' iOS FormSheet sizing fix when a nested
11// native stack is rendered inside a non-fitToContents formSheet.
12featureFlags.experiment.synchronousScreenUpdatesEnabled = true;
13​
14if (process.env.EXPO_PUBLIC_SHOWCASE === "1") {
15 LogBox.ignoreAllLogs();
17​
18registerRootComponent(App);