Comments (1)
@jerelmiller and I had an interesting discovery related to some MSW tests yesterday in which several tests are sharing a client
instance: the SuspenseCache
was causing tests running serially using the same query in subsequent tests to do an initial render with the old data from the resolvers set in the previous test.
This is due to a setTimeout
in the dispose function to work around an issue with strict mode. Jerel had an idea about how we may be able to remove the setTimeout
since some of the logic around unsubscribing/resubscribing changed with the introduction of createQueryPreloader
.
from apollo-client.
Related Issues (20)
- Again, onCompleted is not called when useLazyQuery HOT 6
- Any callback function on a global level or in a mutation to collect optimistic response failures? HOT 6
- refetch from useSuspenseQuery doesn`t return the updated data with fetchPolicy: 'cache-first' HOT 3
- Issue with useSuspenseQuery in Next.js Client Component: Duplicate Queries on Server and Client HOT 6
- @client on arguments HOT 9
- [Docs] Add some documentation on how to test `preloadQuery`
- [Data masking] Provide testing utility to provide proper format to `from` option in `useFragment`
- Typescript error with RequestInfo HOT 5
- Paginated read functions is not returning updated args when using fetchMore HOT 1
- [Testing utilities] Allow passing a seed to `createMockSchema` HOT 3
- is there is any library in react-native that will work like if api post request fails so it will save in own cache and when it will get internet then it will post it HOT 3
- useApolloClient hook return type HOT 4
- [Testing utilities] Add min/max thresholds to options accepted by createMockFetch HOT 3
- Polling does not stop after unmounting query HOT 3
- [bug?] refetch() resolves to undefined after component is unmounted
- [Testing utilities] Support merging resolvers HOT 3
- Regression in 3.9.5 with cache updates and error responses HOT 10
- on error ReferenceError: WebSocket is not defined HOT 5
- Implement Server-Side Pagination in Next.js with Apollo Client HOT 2
- useSuspenseQuery with skipToken still issues network request HOT 8
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 apollo-client.