Read Me
Last updated
Last updated
Dead simple and ready-to-use store module for handling HTTP REST resources.
This project is no longer maintained as better alternatives came out.
Please use from the project instead.
Generates types, actions and reducers for you to easily interact with any REST API.
Saves you from writing a lot of boilerplate code and ensures that your code stays .
Requires to handle async actions.
Relies on to perform HTTP requests.
Built with for static type checking with exported types along the library.
Check the (built with ).
https://mgcrea.gitbook.io/redux-rest-resource/
Basically using a REST endpoint with Redux can be done with only a few lines:
Script
Description
start
alias to test:watch
test
Run unit tests
test:watch
Watch unit tests
test:coverage
Run unit tests with coverage
lint
Run eslint static tests
compile
Compile the library
compile:watch
Watch compilation
docs
Serve docs
docs:compile
Compile docs
Olivier Louvignes
http://olouv.com
http://github.com/mgcrea
NOTE: If you want to use this in environments without a builtin fetch
implementation, you need to .
Inspired by the .