Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-02T11:32:14.000Z (8 months ago)
- Last Synced: 2024-05-02T23:52:57.639Z (8 months ago)
- Topics: json-server, middleware, react, react-hooks, redux, redux-logger, redux-thunk
- Language: JavaScript
- Homepage:
- Size: 350 KB
- Stars: 6
- Watchers: 2
- Forks: 5
- Open Issues: 4
-
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
~~~