0.0.9 • Published 8 years ago

typed-recompose v0.0.9

Weekly downloads
38
License
-
Repository
-
Last release
8 years ago

Typed Recompose

The type definition for recompose

Let's discuss

0.20.2 List of the methods //TODO implement those

  • Higher-order components
    • mapProps()
    • withProps()
    • withPropsOnChange()
    • withHandlers()
    • defaultProps()
    • renameProp()
    • renameProps()
    • flattenProp()
    • withState()
    • withReducer()
    • branch()
    • renderComponent()
    • renderNothing()
    • shouldUpdate()
    • pure()
    • onlyUpdateForKeys()
    • onlyUpdateForPropTypes()
    • withContext()
    • getContext()
    • lifecycle()
    • toClass()
  • Static property helpers
    • setStatic()
    • setPropTypes()
    • setDisplayName()
  • Utilities
    • compose()
    • getDisplayName()
    • wrapDisplayName()
    • shallowEqual()
    • isClassComponent()
    • createEagerElement()
    • createEagerFactory()
    • createSink()
    • componentFromProp()
    • nest()
    • hoistStatics()
  • Observable utilities
    • componentFromStream()
    • mapPropsStream()
    • createEventHandler()
    • setObservableConfig()

LICENSE

MIT

Contributing

You are welcome!

Fisrt, take a look at index.d.ts file. I've used connect's definition from react-redux library for HOC (to be honest I still don't get why it's called so).

Then at test/test.tsx you can see usage examples. Basically testing of annotations means «write your typical code samples and make sure that code compiles by tsc». So if you see that provided annotation won't work in particular (still typical) case, please let me know.


Generated by generator-typings 1.0.12

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago