-
-
Save jorneycr/f0ad919e0941689fe25d0b1f057e988b to your computer and use it in GitHub Desktop.
Guía para instalar React Navigation 5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Instalar react-navigation/native | |
npm install @react-navigation/native | |
// Instalar las dependencias | |
npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view | |
// Instalar navegación en Stack | |
npm i @react-navigation/stack | |
// Si desarrollas una app para iOS | |
cd ios/ | |
pod install | |
// En Android android/app/build.gradle | |
implementation 'androidx.appcompat:appcompat:1.1.0-rc01' | |
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-alpha02' | |
// en el App.js | |
import 'react-native-gesture-handler'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment