Learn React Native (version 0.70 with Typescript) by easy-to-difficult examples.
For more basic examples, see React Native Expo examples
-
Setting up the development environment: https://reactnative.dev/docs/environment-setup.
-
Install dependencies:
yarn
(ornpm install
). On iOS run:npx pod-install
. -
Run on Android:
yarn android
(ornpm run android
). -
Run on iOS:
yarn ios
(ornpm run ios
).
Modify code in App.tsx
, each example is an application.
Learn how to use: Type Script static type checking, React Hook useEffect + Timer
Learn how to use: Native Base + React Native Vector Icons, React Native Maps + React Native Maps Directions, Google Map API, Keyboard + Keyboard Event
Note: To run this example, you must get & config Google Map API KEY for Android or iOS
Learn how to use: API Sauce, MobX + MobX React Lite, React Context, React Navigation Authentication flows + useFocusEffect, React Native Web View
Note: To run this example, you must start the server (https://github.com/robinhuy/fake-api-nodejs) in folder server
:
cd server
yarn
yarn start