Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Flow libdef + example recompose flow app #428

Merged
merged 16 commits into from
Jul 13, 2017
Merged

Flow libdef + example recompose flow app #428

merged 16 commits into from
Jul 13, 2017

Conversation

istarkov
Copy link
Contributor

@istarkov istarkov commented Jul 12, 2017

Here are

  • flow type lib definitions for recompose with tests.
  • example flow typed recompose app Example App.
  • docs

The main idea that all you need is to provide type of enhancer in a form of:

const enhancer: HOC<*, EnhancedComponentProps> = compose(

All other types flow will infer automatically.

flow-typed PR: flow-typed/flow-typed#1032

See gif below:

@istarkov istarkov self-assigned this Jul 12, 2017
Repository owner deleted a comment from codecov-io Jul 12, 2017
Repository owner deleted a comment from codecov-io Jul 12, 2017
Repository owner deleted a comment from codecov-io Jul 12, 2017
Repository owner deleted a comment from codecov-io Jul 12, 2017
@istarkov
Copy link
Contributor Author

GIF:
recompose-flow

@istarkov istarkov mentioned this pull request Jul 12, 2017
@istarkov istarkov requested a review from wuct July 12, 2017 12:46
Repository owner deleted a comment from codecov-io Jul 12, 2017
Repository owner deleted a comment from codecov-io Jul 12, 2017
Repository owner deleted a comment from codecov-io Jul 12, 2017
@istarkov istarkov changed the title Add flow types Flow libdef + example recompose flow app Jul 12, 2017
Repository owner deleted a comment from codecov-io Jul 12, 2017
Repository owner deleted a comment from codecov-io Jul 12, 2017
Repository owner deleted a comment from codecov-io Jul 12, 2017
Repository owner deleted a comment from codecov-io Jul 13, 2017
@istarkov istarkov merged commit 67eaef8 into master Jul 13, 2017
@istarkov istarkov deleted the add-flow-types branch July 13, 2017 05:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant