Created
February 20, 2020 22:49
-
-
Save codigoconjuan/86c7db533280f5fd23735794d870a38c to your computer and use it in GitHub Desktop.
Guía para instalar React Navigation 5
This file contains hidden or 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
npm warn deprecated @react-native-community/[email protected]: Repository was moved to @react-native-masked-view/masked-view