mirror of
https://github.com/hanzoai/dev-desktop.git
synced 2026-11-20 01:07:23 +00:00
23 lines
922 B
TypeScript
23 lines
922 B
TypeScript
// Must stay first: the render counter and behavior probe wrap the DevTools hook before any React commit.
|
|
import "./src/features/development/render-counter-entry";
|
|
import "./src/features/development/behavior-probe-entry";
|
|
// Crash reporting loads preferences, which can load GT and capture Hermes's Intl constructors.
|
|
import "./src/i18n/intl-polyfills";
|
|
// Record errors thrown while the rest of the app loads.
|
|
import "./src/features/observability/observe";
|
|
import { registerRootComponent } from "expo";
|
|
import "react-native-gesture-handler";
|
|
import { LogBox } from "react-native";
|
|
import { featureFlags } from "react-native-screens";
|
|
|
|
import App from "./src/App";
|
|
|
|
// Enables iOS FormSheet sizing for nested native stacks in non-fitToContents sheets.
|
|
featureFlags.experiment.synchronousScreenUpdatesEnabled = true;
|
|
|
|
if (process.env.EXPO_PUBLIC_SHOWCASE === "1") {
|
|
LogBox.ignoreAllLogs();
|
|
}
|
|
|
|
registerRootComponent(App);
|