mirror of
https://github.com/expo/dev-plugins.git
synced 2026-11-15 17:31:28 -10:00
* [withTabs] use expo-router's public API to setup navigation plugin * Add react-query example * add react-query plugin
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);
|