GithubHelp home page GithubHelp logo

Comments (7)

jbaxleyiii avatar jbaxleyiii commented on April 27, 2024

➤ Mattias Ewers commented:

This is an issue for me as well.

from apollo-link-state.

jbaxleyiii avatar jbaxleyiii commented on April 27, 2024

➤ Jim Kynde Meyer commented:

This issue appears to be more critical than I initially thought.

I'm now seeing stale data.props that are out of sync with what is in the InMemoryCache after mutations. See the attached screenshot which demonstrates a customer name being out of sync.

image

from apollo-link-state.

jbaxleyiii avatar jbaxleyiii commented on April 27, 2024

➤ mitjade commented:

Same problem for me.

from apollo-link-state.

jbaxleyiii avatar jbaxleyiii commented on April 27, 2024

➤ Niklas von Hertzen commented:

Experiencing same issue, the error prop never seems to return anything else than undefined, and when a component that was supposed to have an error gets unmounted, it throws an Unhandled error error right after.

Using apollo-client 2.0.1 and react-apollo 2.0.0

from apollo-link-state.

jbaxleyiii avatar jbaxleyiii commented on April 27, 2024

➤ Nepomuk Seiler commented:

This test should validate that this actually works. Is the error field only for non-graphql errors (e.g. network failure, 5xx responses, etc.)?

from apollo-link-state.

jbaxleyiii avatar jbaxleyiii commented on April 27, 2024

➤ Jim Kynde Meyer commented:

As far as I can tell, the test doesn't cover the optimization logic in render: https://github.com/apollographql/react-apollo/blob/master/src/graphql.tsx#L604-L622

It focuses mainly on componentWillReceiveProps which is no guarantee that the wrapped component will be given the right props during render.

from apollo-link-state.

jbaxleyiii avatar jbaxleyiii commented on April 27, 2024

➤ mitjade commented:

With apollo-client 2.0.2 the error now get's correctly set for me, but I still get the Unhandled error error right after.

from apollo-link-state.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.