Skip to content

Commit bff93a1

Browse files
committed
💻 install react-native stack
1 parent ccacd91 commit bff93a1

4 files changed

Lines changed: 7023 additions & 238 deletions

File tree

‎lectureNotes.md‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,17 @@ React Native exposes a StyleSheet function used to create objects that can be fe
7474
- Cordova, Phonegap, Ionic are all webview frameworks which are basically HTML, CSS, JavaScript viewed through a mobile app
7575
- Same codebase for mobile and web
7676

77-
# Debugging
77+
# Debugging
78+
79+
Press d inside console to open up a browser that will print stdout
80+
81+
# Navigation using Stack
82+
83+
React native does not use routes to handle navigation. It has no built in navigation what so ever. We're going to use a community created solution to implement different views for our app
84+
85+
## Installing React Native Stack
86+
We need to install Stack
87+
1) `npm install @react-navigation/native @react-navigation/stack`
88+
Then we need to install peer dependencies depending on our platform. With express we need to:
89+
2) `expo install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view`
7890

0 commit comments

Comments
 (0)