-
**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()…
-
**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…
-
A vast majority of my queries and mutations contain at least one parameter which maps directly to information already present in redux store, and could be selected by a static selector. I tend to then…
-
As you can see the object is empty right now:
https://docs.twenty.com/rest-api/metadata#/operations/createOneField
-
I first tried to follow the standard practice like for parametrized queries
```typescript
export const todos = createMutationKeys('todos', {
prop: (input: string) => ({
mutationKey: [input],…
-
can we do file uploads with useMutation?
-
## 요구사항
- useQuery, useMutation, queryClient를 react-query로 전환
- 관련 타입을 react-query가 제공하는 타입으로 전환
- 전체 동작 테스트
## 기한
22.10.30
-
this not call mutation
```typescript
const [sendMessage] = useMutation((mutation) => {
return mutation.createMessage({ text: 'lol' })
})
sendMessage()}>Send
```
this call mutatio…
-
## Overview
- 비밀번호를 이용해서 수정, 삭제까지 추가 기능까지 구현한 좋은 프로젝트입니다.
- 프로젝트의 구조화가 잘 되어있고, Style 파일을 따로 분리해서 관심사도 잘 분리되어 있네요.
- invalideQueries 개념을 잘 이해하고, queryKey도 잘 활용하고 계신 것 같아요.