The library enhances Recompose when using TypeScript.
The library's goal is
- reducing unnecessary type definition
- defining types automatically
- making your app safer
↓
npm install recompose recomposer --save
The library has recompose as a peer dependency, you need to install both libraries.
It is still working in progress.. welcome PR! 😊
The recompose reference is here!
- mapProps()
- withProps()
- withPropsOnChange()
- withHandlers()
- defaultProps()
- renameProp()
- renameProps()
- flattenProp()
- withState()
- withStateHandlers()
- withReducer()
- branch()
- renderComponent()
- pure()
- onlyUpdateForKeys()