https://github.com/ellado-fbit/react-hooks-redux-thunk-pattern
Sample code combining React Hooks and Redux Thunk middleware to call an asynchronous API.
https://github.com/ellado-fbit/react-hooks-redux-thunk-pattern
json-server middleware react react-hooks redux redux-logger redux-thunk
Last synced: about 2 months ago
JSON representation
Sample code combining React Hooks and Redux Thunk middleware to call an asynchronous API.
- Host: GitHub
- URL: https://github.com/ellado-fbit/react-hooks-redux-thunk-pattern
- Owner: ellado-fbit
- Created: 2020-03-09T14:48:08.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-21T09:23:33.000Z (12 months ago)
- Last Synced: 2025-03-26T10:11:28.316Z (2 months ago)
- Topics: json-server, middleware, react, react-hooks, redux, redux-logger, redux-thunk
- Language: JavaScript
- Homepage:
- Size: 509 KB
- Stars: 6
- Watchers: 2
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-hooks-redux-thunk-pattern #
## Install dependencies
~~~
npm install
~~~## Usage
Start the REST API server (JSON Server):
~~~
npm run server
~~~Then, start the React development server:
~~~
npm start
~~~