We are going to do simple blog app. We will fetch data from jsonplaceholder.typicode.com
.
What is Redux Thunk ?
- redux = redux library
- react-redux = integration layer between react and redux
- axios = help us to make network requests
- redux-thunk = middleware to help us make requests in a redux applications
src/apis/jsonPlaceholder.js
src/index.js
src/actions/index.js
src/components/App.js
src/components/PostList.js
br />
src/components/UserHeader.js
src/reducers/postsReducer.js
src/reducers/usersReducer.js
src/reducers/index.js