0.1.3 ⢠Published 5 years ago
@datarockets/react-native-template-ts v0.1.3
š React Native Template TS
š¦ What's included
- Preconfigured
react-navigation
,redux
,react-native-config
andreact-native-code-push
- Two preconfigured environments:
dev
andprod
- Easy components, screens and models generation by template
š§± Structure
components
src/components/AComponent
āāā index.tsx
āāā styles.ts
screens
src/screens/AScreen
āāā index.tsx
āāā styles.ts
āāā view.tsx
models
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-ts
If 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