redux-api-rest-hocs
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

Redux-rest-api-hocs

https://travis-ci.org/Dracks/redux-api-rest-hocs.svg?branch=master

This is a list of React HOC to be used with https://github.com/Dracks/redux-api-rest

Sample Usage of LoadingHoc

import { restChain } from 'redux-api-rest-hocs'
...
let ComponentWithLoading =  restChain()
    .setProperty('propWithRestData')
    .withLoading(LoadingComponent)
    .build(Component)

You can check it on the RestChain.test.tsx more examples

Readme

Keywords

Package Sidebar

Install

npm i redux-api-rest-hocs

Weekly Downloads

0

Version

3.0.0

License

ISC

Unpacked Size

345 kB

Total Files

133

Last publish

Collaborators

  • dracks