0.1.3 ⢠Published 6 years ago
@datarockets/react-native-template-ts v0.1.3
š React Native Template TS
š¦ What's included
- Preconfigured 
react-navigation,redux,react-native-configandreact-native-code-push - Two preconfigured environments: 
devandprod - Easy components, screens and models generation by template
 
š§± Structure
components
src/components/AComponent
āāā index.tsx
āāā styles.tsscreens
src/screens/AScreen
āāā index.tsx
āāā styles.ts
āāā view.tsxmodels
src/models/AModel
āāā actions.ts
āāā api.ts
āāā reducer.ts
āāā saga.ts
āāā selectors.ts
āāā types.tsš Usage
Simply start you project using the template:
npx react-native init MyApp --template @datarockets/react-native-template-tsIf you experience issue initializing the project with the template try to use the latest CLI explicitly:
npx react-native@latest init MyApp --template @datarockets/react-native-template-ts