recomposer
TypeScript icon, indicating that this package has built-in type declarations

0.2.5 • Public • Published

Recomposer

Recompose ❤️ TypeScript

The library enhances Recompose when using TypeScript.

The library's goal is

  • reducing unnecessary type definition
  • defining types automatically
  • making your app safer
recompose

recomposer

Usage

npm install recompose recomposer --save

The library has recompose as a peer dependency, you need to install both libraries.

API

It is still working in progress.. welcome PR! 😊

The recompose reference is here!

Higher-order components

  • mapProps()
  • withProps()
  • withPropsOnChange()
  • withHandlers()
  • defaultProps()
  • renameProp()
  • renameProps()
  • flattenProp()
  • withState()
  • withStateHandlers()
  • withReducer()
  • branch()
  • renderComponent()
  • pure()
  • onlyUpdateForKeys()

Readme

Keywords

none

Package Sidebar

Install

npm i recomposer

Weekly Downloads

1

Version

0.2.5

License

MIT

Unpacked Size

218 kB

Total Files

51

Last publish

Collaborators

  • suguru03