Files
snack/runtime/index.js
Cedric van Putten b81f186d0f refactor: upgrade to Expo SDK 54 stable (#642)
* refactor(runtime): upgrade to Expo SDK 54 beta

* refactor(runtime): drop `babel.config.js` to use Expo default

* refactor(runtime): add `react-native-worklets` for Reanimated 4

* refactor(runtime): replace vendored reanimated plugin with worklets plugin

* refactor(runtime): update file system caching to new `expo-file-system` API

* refactor(snack-content): upgrade to Expo SDK 54 beta

* refactor(snack-sdk): upgrade to Expo SDK 54 beta

* refactor(website): upgrade to Expo SDK 54 beta

* refactor(website): add new Appetize builds for Expo SDK 54

* refactor(runtime): use fixed Expo SDK beta version to avoid semver weirdness

* refactor(snack-runtime): upgrade to Expo SDK 54 beta

* refactor(snack-runtime): re-apply the same fixes from runtime

* chore: bump all package versions to next published versions for Expo SDK 54

* chore: update lockfiles

* fix(snackager): prefer the `react-native-worklets/plugin` but fallback to `react-native-reanimated/plugin`

* fix: make Appetize button text colors white

* fix(runtime): replace `expo-file-system` usage with `ModuleCache` to support web

* fix(website): drop `SafeAreaView` from default template

* fix(website): import missing `View` component

* refactor(runtime): upgrade to latest Expo SDK 54 beta

* refactor(runtime): upgrade to latest Expo SDK 54 stable

* refactor(snack-content): upgrade to Expo SDK 54 stable

* refactor(snack-sdk): upgrade to Expo SDK 54 stable

* test(snack-sdk): update snapshots
2025-09-10 21:34:01 +02:00

13 lines
472 B
JavaScript

import { registerRootComponent } from 'expo';
import { LogBox } from 'react-native';
import App from './src/App';
// Ignore all deep imports warnings
LogBox.ignoreLogs([/Deep imports from the 'react-native' package are deprecated/i]);
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
// It also ensures that whether you load the app in Expo Go or in a native build,
// the environment is set up appropriately
registerRootComponent(App);