Skip to content

leesiongchan/redux-effects-http-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redux-effects-http-cache

Cache HTTP requests to fetch requests to prevent duplicated requests.

Installation

$ npm install redux-effects-http-cache

Usage

Add the http cache middleware to the effects stack before the fetch middleware.

import effects from 'redux-effects';
import fetch from 'redux-effects-fetch';
import httpCache from 'redux-effects-http-cache';

applyMiddleware(effects, httpCache, fetch)(createStore);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published