Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Mutation HoC WrappedComponent additional props #1967

Closed
pyromaniac opened this issue May 6, 2018 · 2 comments · Fixed by #3008
Closed

Mutation HoC WrappedComponent additional props #1967

pyromaniac opened this issue May 6, 2018 · 2 comments · Fixed by #3008

Comments

@pyromaniac
Copy link

Hello guys, thanks for the great react integration. It definitely got better with each release.
There is one thing I don't understand. What is the reason to omit all the useful properties like loading in mutation HoC (

{(mutate, _result) => {
)? Why don't pass them under some key like mutation or even [name] like it is done for queries?

@jamesjryan
Copy link

Any progress on this?

@rosskevin
Copy link
Contributor

PR welcome.

hwillson pushed a commit that referenced this issue May 28, 2019
* Adds mutation result to mutation hoc

* Changelog update

* Add missing semi-colon; Convert CRLF's to LF's
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 a pull request may close this issue.

3 participants