react-native-template-vindicce-expo
v7.1.3
Published
<p align="center" > <p align="center" > <a href=""> <img alt="react-native-gifted-chat" src="https://user-images.githubusercontent.com/22872282/77975177-b34a2900-72cf-11ea-845d-6e40ab6718d4.png" /> </a> </p>
Downloads
16
Maintainers
Readme
The template was created so we can start the project faster. Unifying all the logic of the redux, in a single file like in duck pattern. We also have a template generator where we can create several components with only this command.
Starting project with this template
You can starting a new project this way:
expo init MyAppName --template react-native-template-vindicce-expo
Generator Options
run yarn g
to see the options
Function View
: • View, to create Views(Container's), with redux.Component
: • Components, for the creation of components.Flow
: • Flow, to create a new application flow, already as a standard view, with redux.Redux
: To create a new Redux/Actions/Sagas.
:exclamation: The model will take care of creating and making all imports to leave what was created with global access.
import examples
All codes can be imported from the index.js of their respective folders.
import React from 'react'
import { CustomButton, CustomBackground } from '../components'
...
import React from 'react'
import actions, { Word } from '../redux/actions'
...
OR
import React from 'react'
import actions, { Word as WordActions } from '../redux/actions'
...
Links with libs
Styled-components
https://styled-components.com
Navigator
https://reacttraining.com/react-router/core/guides/quick-start
Redux
https://redux.js.org
Thunk
https://github.com/reduxjs/redux-thunk
Sagas
https://redux-saga.js.org
You have a question?
Please send email for the [email protected]