You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thank you for this library, it is awesomely simple!
I've been toying with react-apollo and the new <Query> and <Mutation> components, and they are really nice in terms of making data declarative, allowing you to co-locate data requirements inside your components.
I was thinking it would be really nice is react-refetch was architected similarly. Instead of connect(mapPropsToRequests, Component), it would be cool do to:
First off, thank you for this library, it is awesomely simple!
I've been toying with
react-apollo
and the new<Query>
and<Mutation>
components, and they are really nice in terms of making data declarative, allowing you to co-locate data requirements inside your components.I was thinking it would be really nice is
react-refetch
was architected similarly. Instead ofconnect(mapPropsToRequests, Component)
, it would be cool do to:Or even, for non-GET methods, offer a mutation API:
What do you think?
The text was updated successfully, but these errors were encountered: