0.1.1 ⢠Published 5 years ago
@datarockets/react-native-template-js v0.1.1
š React Native Template JS
š¦ 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.js
āāā styles.js
screens
src/screens/AScreen
āāā index.js
āāā styles.js
āāā view.js
models
src/models/AModel
āāā actions.js
āāā api.js
āāā reducer.js
āāā saga.js
āāā selectors.js
āāā types.js
š Usage
Simply start you project using the template:
npx react-native init MyApp --template @datarockets/react-native-template-js
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-js