* chore(runtime): clone runtime basis as separate package * chore: add continuous integration for `snack-runtime` * refactor(snack-runtime): fix linting issues * fix(snack-runtime): add missing dependencies * feature(runtime-shell): add new shell-like app that consumes `snack-runtime` * fix(snack-runtime): add S3 asset resolver for Snack assets * feature(snack-runtime): add direct-load capability to render Snacks without Snack website sessions * refactor(snack-runtime): drop outdated amplitude * feature(snack-runtime): add `snack-runtime` lifecycle event callbacks * refactor(snack-runtime): drop `expo-updates` dependency in favor of `onSnackReload` * feature(snack-runtime): add a vendored Reaniamted plugin to transpile user-provided code * fix(snack-runtime): resolve linting issue * chore(runtime-shell): clean up index file * feature(snack-runtime): add context-based config API for runtime modules * chore(snack-runtime): fix linting issue * fix(snack-runtime): move constants to production-first defaults * chore(snack-runtime): prepare for initial official release `0.3.0-rc.1` * fix(snack-runtime): consolidate `UrlUtils` and `utils/SnackUrls` * fix(snack-runtime): replace environment validation with if statement * docs(snack-runtime): add basic readme documentation * chore(runtime-shell): clean up shell app * chore(snack-runtime): fix linting issue * chore(runtime-shell): backport asset workaround for the runtime web app * chore(snack-runtime): drop `prepublishOnly` task as there is no build or clean step * fix(snack-runtime): pull `ExpoRouterEntry` out of `snack-runtime` * chore(snack-runtime): release `[email protected]` with `expo-router` fix * chore(snack-runtime): add missing `path` dependency * fix(snack-runtime): pull `ExpoRouterEntry` out of commonly aliased modules * fix(snack-runtime): use proper module source when initializing systemjs aliases * chore(snack-runtime): prepare version `[email protected]` * chore(snack-runtime): fix linting issue
9 lines
311 B
JavaScript
9 lines
311 B
JavaScript
import { registerRootComponent } from 'expo';
|
|
|
|
import App from './src/App';
|
|
|
|
// 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);
|