[email protected] / React Native 0.71.1
This repo demonstrates integration of expo-router
with a new React Native project generated with npx react-native
init with [email protected]
.
You can see the steps in each commit:
- Initialize app:
npx react-native init
- Install Expo Modules API:
npx install-expo-modules@latest
. Also changed entry point name tomain
. - Install
expo-router
: followed these steps https://expo.github.io/router/docs/ & also installedreact-native-gesture-handler
. - Lastly, I changed the scripts for
ios
andandroid
to use Expo CLI instead of React Native CLI.
- Clone the repository
- Run
yarn
- Run
yarn ios