-
Notifications
You must be signed in to change notification settings - Fork 1
Plugins
Raphael Morales edited this page Nov 30, 2017
·
10 revisions
Routers define the relationship between URIs, actions, and navigation state. Share navigation logic between mobile apps, web apps, and server rendering.
yarn add react-navigation
Talking to APIs doesn't have to be awkward anymore.
yarn add apisauce
Crie uma pasta /src/services/api.js e configure api.
import api from './services/api';
yarn add redux
yarn add react-redux
import { Provider } from 'react-redux';
import store from 'redux/store';
<Provider store={stpre}>
<Routes />
</Provider>
São as actions