Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/muhammadawaisshaikh/reactjs-boilerplate-compelete

complete reactjs boilerplate with API call resolver and bootstrap, redux & thunk enabled
https://github.com/muhammadawaisshaikh/reactjs-boilerplate-compelete

javascript react-redux reactjs redux redux-thunk

Last synced: about 2 months ago
JSON representation

complete reactjs boilerplate with API call resolver and bootstrap, redux & thunk enabled

Awesome Lists containing this project

README

        

# reactjs-boilerplate-compelete
complete reactjs boilerplate with API call resolver and bootstrap enabled

# Article Referance
https://medium.com/@awaisshaikh94/making-api-calls-in-react-using-redux-thunk-b3f29ca04cf7

# Code Snippets
https://gist.github.com/muhammadawaisshaikh/0bd51c748d7dd1393f30857db9250786

# Redux Implementation Steps:

> npm i redux redux-thunk redux-persist redux-logger --save

app > redux +
redux > actions > actions.js
redux > actions > taskAction.js
redux > reducers > index.js
redux > taskReducer > taskReducer.js
redux > store > store.js

- update App.js by mapDispacthToProps to call taskActions to perfrom API calls, as mentioned in code snippets/gist
- update App index.js by adding reducer and connect with store, as mentioned in code snippets/gist