1.2.1 ā¢ Published 2 years ago
react-native-typescript-redux v1.2.1
React Native TypeScript Boilerplate
Boilerplate for creating React Native applications with typescript
Show your support
Give a āļø if you liked this!
š¤ Contributing
Contributions are welcome! If you have questions, feature requests or a bug you want to report, please click Here to open an issue.
Installation
Open your terminal and type in
npx react-native init AwesomeProject --template react-native-typescript-redux
Folder Structure
.
āāā app
ā āāā src
ā āāā @types
ā āāā assets
ā ā āāā animations
ā ā āāā fonts
ā ā āāā images
ā āāā components
ā ā āāā Button
ā ā āāā Light-bulb
ā ā āāā Switch
ā āāā config
ā ā āāā reactotron
ā āāā helpers
ā āāā i18n
ā āāā router
ā āāā screens
ā ā āāā Demo
ā ā āāā Home
ā ā āāā Redux-demo
ā āāā services
ā ā āāā reactotron
ā āāā store
ā ā āāā ducks
ā ā ā āāā counter
ā ā āāā root-store
ā āāā theme
ā āāā utils
ā ā āāā storage
ā ā āāā hooks
ā āāā App.tsx
āāā android
āāā docs
āāā ios
āāā index.js
Tech stack
- TypeScript
- Async Storage
- Gesture Handler
- Redux
- React Native Paper
- React Native Vector Icons
- React Navigation
- Hooks
- Redux Thunk
- Reactotron
- Styled Components
How to use
If you don't have the react-native environment already setup on your machine, please follow this Link to setup everything you need to start
$ npm install
# OR with yarn
$ yarn
# check if your device is online by running the following command
# if running on a physical device, enable debug mode
$ adb devices
# this starts the metro server and points to reactotron ports automatically
$ yarn dev
# installing the app on the device
$ yarn run android