Comments (8)
can't access that sandbox, please make it public
from query.
Same problem here @TkDodo unfortunately. In svelte using:
@tanstack/eslint-plugin-query": "5.28.6",
"@tanstack/query-persist-client-core": "5.28.9",
"@tanstack/svelte-query": "5.28.9",
"@tanstack/svelte-query-devtools": "5.28.10",
I'll try to create a reproduction soon.
from query.
@LukasDeco do you have any work-around? Any fix?
from query.
I don't know if this is the same issue I'm facing right now. I opened #7204 with a reproduction. @LukasDeco your reproduction is 404.
from query.
gonna close this because the reproduction is inaccessible.
from query.
@LukasDeco do you have any work-around? Any fix?
@frederikhors I just had to add some extra logic to catch if it went undefined and then throw it in a useState. It's a bit of a mess.
from query.
@TkDodo I changed to public
from query.
@TkDodo the example is updated to be working now: https://codesandbox.io/p/sandbox/react-query-bug-qw336y?file=%2Fsrc%2FApp.js%3A14%2C26
from query.
Related Issues (20)
- Enabled exactOptionalPropertyTypes causes error when trying to use the optional selector HOT 1
- getNextPageParam throws an error when setting the data for an infinite query to empty lists for pages & pageParams
- Typescript error when await on global onSuccess mutation HOT 3
- Version 5.50 isn't on npm HOT 1
- eslint-plugin-query: skipToken breaks exhaustive queryKeys rule HOT 3
- JSDoc return type inference broken for useQuery/createQuery, but not for useMutation/createMutation HOT 1
- Svelte: passing a store to createQuery breaks types when using `select` HOT 2
- `useIsFetching` is reacting only to first static queryKey HOT 2
- QueryCache in QueryClient is not reflecting state changes inside onError callback HOT 1
- persisted queries are not removed from cache HOT 1
- `useSuspenseInfiniteQuery` does not create correct data HOT 1
- `vue-query` client `invalidateQueries` doesn't invalidate immediately HOT 9
- Query remains active even without any listeners HOT 3
- react-native resolve problem HOT 1
- Using refreshInterval and staleTime can cause refresh to only occur after refetchInterval + staleTime HOT 4
- `AbortSignal` does not fire when query errors out HOT 7
- typescript error querykey is missing
- export 'default' was not found error when library uses @tanstack/react-query HOT 1
- the `coverage` in `vite.config.ts` causes unbound breakpoints when debugging internal packages HOT 1
- QueryClient.clear does not trigger a rerender immediately HOT 2
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 query.