react-lifecycle-hoc
Higher-order components of react lifecycle.
Installation
$ npm install react-lifecycle-hoc --save
Usage
- As HOC
; <div/>;
- ES7 decorator
@Component { return <div/>; }
API
: HigherOrderComponent
Test
$ npm run lint
$ npm run test:watch
CONTRIBUTING
- ⇄ Pull requests and ★ Stars are always welcome.
- For bugs and feature requests, please create an issue.
- Pull requests must be accompanied by passing automated tests (
$ npm test
).