Comments (5)
@deoqc yep that sounds like a lifecycle bug due to our methods to re-renders. I'll take a look and try to get it fixed asap!
from react-apollo.
@deoqc I actually already have a test covering what I think you are describing: https://github.com/apollostack/react-apollo/blob/master/test/connect/mutations.tsx#L486-L579
Do you have a sample of how you have it setup where its not working?
The linked test covers if the store changes (outside of apollo
's internal data), then when the mutation is actually called it checks to ensure it has the correct data. That sounds like the issue you are having?
from react-apollo.
@jbaxleyiii that sound's like it. I will try to reproduce it.
from react-apollo.
@deoqc is this still a problem?
from react-apollo.
Sorry for leaving this open.
The problem - as usual with Apollo - faded away. =)
from react-apollo.
Related Issues (20)
- Cannot find module error 'apollo-client' after installing @apollo/react-testing inside a test
- useSubscription doesn't work for new windows
- Refetch or re-using lazy query make data incomplete.
- MockedProvider HOT 1
- useLazyQuery executed multiple times HOT 1
- FetchPolicy 'network-only' and 'no-cache' return cached value in Apollo Client v3 HOT 1
- Creating npm module that uses <Query> component without instantiating <ApolloProvider> in the module
- MockedProvider mocking `null` data HOT 1
- Can't perform state update on an unmounted component
- MockedProvider not working correctly HOT 1
- version 3.1.4 (and 3.1.5) breaks addMocksToSchema from @graphql-tools/mock
- [v3] Local state management
- Release notes
- Query with errorPolicy "all" cannot effectively use onError, onCompleted HOT 1
- @apollo/react-hooks changelog
- Breaking change in 3.1.5 in `useLazyQuery` HOT 1
- when status code is 403, client.query => graphqlError, graphql hoc => networkError HOT 2
- useQuery returning undefined
- Errors that occur in refetchQueries cannot be caught HOT 1
- useQuery with onCompleted: infinite loop.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-apollo.