GithubHelp home page GithubHelp logo

Comments (3)

jbaxleyiii avatar jbaxleyiii commented on April 27, 2024

➤ Makame commented:

The same with:
"apollo-client": "2.0.1"
"react-apollo": "2.0.0"

from apollo-link-state.

jbaxleyiii avatar jbaxleyiii commented on April 27, 2024

➤ Tobias Pinnekamp commented:

Having exactly the same problem. But we have one component which behaves correctly even though it is programmed in the same way than the others.

A strange effect to add: The problem only occurs if I navigate between different pages which issue different GraphQL Queries.

No Problem when:
GQLPage > NonGQLPage > GQLPage > NonGQLPage > GQLPage ...

Problem when:
GQLPage > OtherGQLPage > GQLPage > OtherGQLPage > GQLPage ...
The first call to each page behaves correctly. All subsequent calls are stuck in loading state. FetchPolicy is set to network-only everywhere.

from apollo-link-state.

jbaxleyiii avatar jbaxleyiii commented on April 27, 2024

➤ bckellerman-soltech commented:

I am also having only queries on a single page of my application stuck in loading like @tpinne. The initial query works every time, but on navigation to a new route with a graphql query, and then returning to the previous page with the offending components, those components are stuck in a loading state. I do see the subsequent queries being fired in the network tab, and valid results coming back, but the components are never receiving that data.

On the page this issue is happening on though, there is one query that is working and the others aren't. The only difference between the two is that the working query takes no variables.

This is happening on:
"react-apollo": "1.4.16"
"apollo-client": "1.9.3"

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.