React-apollo: missing documentation for flow

Created on 22 Dec 2017  路  2Comments  路  Source: apollographql/react-apollo

Currently is very criptic to add any flow checker using withApollo. Reading and playing a bit with the code we found the MutationFunc<MutationInput> type, but we are not able to find the one for the queries.

In addition, it would great to explain the signature of the graphql tag itself, graphql<Response, InputProps, WrappedProps> is not very easy to understand and I could not find any docs explaining this.

I would be glad to help documenting, but is quite messing to understand the current flow file.

Versions

encouraged

Most helpful comment

Flow is not up to date in this project and we need a flow maintainer. If you want to help, feel free to jump-in. Types are checked in test/flow-usage.js, and flow types are listed in index.js.flow.

All 2 comments

Flow is not up to date in this project and we need a flow maintainer. If you want to help, feel free to jump-in. Types are checked in test/flow-usage.js, and flow types are listed in index.js.flow.

Flow is no longer support in React Apollo. Thanks!

Was this page helpful?
0 / 5 - 0 ratings