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

index.ts

23 lines975 Bytes

1// Must stay first: the render counter and behavior probe wrap the DevTools hook before any React commit.
2import "./src/features/development/render-counter-entry";
3import "./src/features/development/behavior-probe-entry";
4// Crash reporting loads preferences, which can load GT and capture Hermes's Intl constructors.
5import "./src/i18n/intl-polyfills";
6import "./src/features/files/text-decoder-polyfill";
7// Record errors thrown while the rest of the app loads.
8import "./src/features/observability/observe";
9import { registerRootComponent } from "expo";
10import "react-native-gesture-handler";
11import { LogBox } from "react-native";
12import { featureFlags } from "react-native-screens";
13​
14import App from "./src/App";
15​
16// Enables iOS FormSheet sizing for nested native stacks in non-fitToContents sheets.
17featureFlags.experiment.synchronousScreenUpdatesEnabled = true;
18​
19if (process.env.EXPO_PUBLIC_SHOWCASE === "1") {
20 LogBox.ignoreAllLogs();
22​
23registerRootComponent(App);