Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/muhammadawaisshaikh/reactjs-boilerplate-compelete
- Owner: muhammadawaisshaikh
- Created: 2020-03-06T11:13:26.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-05T21:50:55.000Z (about 4 years ago)
- Last Synced: 2024-04-16T15:56:07.956Z (9 months ago)
- Topics: javascript, react-redux, reactjs, redux, redux-thunk
- Language: JavaScript
- Homepage:
- Size: 2.44 MB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
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