I tested it with the example code from the docs
When I inspect the Apollo store (via the DevTools), I see the store gets updated correctly, but my wrapped component doesn't re-render and it's componentWillReceiveProps function isn't triggered.
Describe what you think should actually happen.
Almost same situation for me.
I have a query on an object, fetching well data and updating the wrapped component at first.
After a mutation on this object (made with success), the store is well updated with the new value, but the wrapped component is not notified (componentWillReceiveProps, shouldComponentUpdate, ...)
Also having that problem @thomasdelobel is having, but thought it had something to do with the one above, so didn't wanted to make a dupe issue
@thomasdelobel or @MichaelDeBoey could you create a reproduction or a failing test using https://github.com/apollographql/react-apollo-error-template or the current test suite?
@jbaxleyiii Just saw apollographql/apollo-client#1555 and @dfee's solution helped fixing my problem 馃檪
CC: @thomasdelobel
Well spotted @MichaelDeBoey, thanks !
I was trying to reproduce it in a lighter app than the one I'm working on, and can't figured out what it was.
Actually I deal with a union and especially through fragments. Applying the @dfee's solution also solved my issue.