-
스터디 룸 / 일지에 대한 useQuery useMutation 코드 작성
-
I'm attempting to perform a mutation when a specific route is hit in my application. When using useEffect and passing through a mutation method as a dependancy, it enters an infinite loop.
```jav…
-
**Intended outcome:**
When evicting a mutation from the cache, the `useMutation` hook data should return `null`.
Evicting like so:
```ts
client.cache.evict({
id: 'ROOT_MU…
-
**Fleet version**: 4.47.2
### 💥 Actual behavior
These are all the keyboard accessibility issues that @RachelElysia found during chaos engineering 2024-09-27:
- [ ] Hitting enter doesn’t close th…
-
**Describe the bug**
Invoking `useQuery` or `useMutation` with a regular function call (instead of a tagged template literal) + Provider triggers invariant variation:
```
useQuery requires a URL…
-
**Intended outcome:**
I have a mutation with an `update` option which calls `cache.writeQuery`.
This is updating the cache and re-rendering queries as expected when we run in the browser.
In …
-
### What do you want and why?
Simplify requests to custom api routes that use blitz session middleware.
```ts
import { getAntiCSRFToken } from "blitz";
const antiCSRFToken = getAntiCSRFToken()…
-
### Issue Description
`useMutation`'s `refetchQueries` option doesn't trigger React's `Suspense` fallback component when underlying query uses `useSuspenseQuery`.
### Link to Reproduction
https://c…
-
Is there any way to use zsa-react-query with prefetchQuery and useSuspenseQuery?
It would be nice to be able to prefetch data with validation, type safety and also to stay with react-query ecosystem
-
I'm using custom useMutation hook but loading state is always true and data is always undefined
```js
const [createPost, { loading, data }] = useCreatePostMutation(); // same `const { loading, data,…