Tanstack Query에서 mutation 으로 달라지는 파라미터 variable?
개요 useMutation을 쓰다 보면 onSuccess, onError, onSettled 같은 콜백의 인자가 헷갈리는 순간이 온다. "이 variables는 어디서 온 거지?", "context는 또 뭐지?", "mutationFn은 인자를 안 받는데 onSucc
A tag-first restructuring of my frontend and React Native learning notes and retrospectives, curated on Velog (@diso592).
Velog GraphQL → deployment pipeline → RSC static rendering
Velog @diso592
GraphQL API
scripts/fetch-velog.ts
try/catch + exit(0)
src/data/velog-posts.json
committed seed
Next.js 16 RSC
utilFetchVelogArchive
/{locale}/writings
static HTML
A GitHub Actions cron polls the velog RSS and triggers a deploy webhook when a new post is detected.
SOURCE
velog.io/@diso592 posts + tags
FETCH
GraphQL cursor pagination on deploy
SEED
committed seed, previous JSON retained on failure
RENDER
server fs load, RSC static rendering
OUTPUT
/{locale}/writings static HTML