mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-21 16:52:40 +00:00
* fix(app): reload to the project picker after a render error Keep the recovery boundary above the router so Reload starts a new navigation tree at the picker instead of remounting the failed workspace. Preserve saved layouts and normal startup restoration. * test(app): exercise reload through fixture routes
19 lines
867 B
TypeScript
19 lines
867 B
TypeScript
// Polyfill crypto.randomUUID for React Native before any other imports
|
|
import { polyfillCrypto } from "./src/polyfills/crypto";
|
|
polyfillCrypto();
|
|
|
|
// Polyfill screen.orientation for WebKitGTK desktop runtimes that lack the API.
|
|
import { polyfillScreenOrientation } from "./src/polyfills/screen-orientation";
|
|
polyfillScreenOrientation();
|
|
|
|
// Configure Unistyles before Expo Router pulls in any components using StyleSheet.
|
|
import "./src/styles/unistyles";
|
|
// oxlint-disable-next-line import/no-unassigned-import -- Preserve Expo's entry side effects.
|
|
import "@expo/metro-runtime";
|
|
// oxlint-disable-next-line import/no-unassigned-import -- Preserve Expo's entry side effects.
|
|
import "expo-router/build/fast-refresh";
|
|
import { renderRootComponent } from "expo-router/build/renderRootComponent";
|
|
import { RootApp } from "./src/root-app";
|
|
|
|
renderRootComponent(RootApp);
|