Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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
~~~