Rehance
This is a utility library for React to be able to build more robust functionality on top of stateless (aka, pure function) components. This library is inspired by recompose and react-redux's connect()
method, but aims to create a single higher-order component instead of multiple.
Getting Started
Install via npm
:
npm i -S rehance
Usage
Counter Example
;; ;
Fetch Data on Load
;; ;
Stateful Form Example
;; ;
ref
Based Form Example
;; ;