Add `expo-router` talk and challenges
MatthysDev opened this issue · 0 comments
MatthysDev commented
As a student
I can learn what is expo router
So that I am up to date
internet has won https://x.com/flexbox_/status/1795002607708029247
we should sunset react-navigation and start with expo-router
Slides content
Expo router: file system-based routing for React Native
-
Different UX for iOS and android
-
App folder
- Stack Navigator
index.tsx -> /products.tsx -> /products_layout.tsx
Organise screens and declared how it should be rendered
the declaration is implicit
You can declare them if you want to update options like title, icon …
- Stack Navigator
-
iOS, Android, web, TVOS
-
features
- Typescript
- Deep linking
- Api route
cart+api.ts
-
What is expo router reddit
https://www.reddit.com/r/reactnative/s/HXTm579s1f
talk
- add a comparaison slide https://x.com/DanStepanov/status/1795182604712317430
Passing data between screens
https://docs.expo.dev/router/reference/search-parameters/#route-parameters-versus-search-parameters
