S
Slack·decision
eng-discussDecision: standardizing on TanStack Query over SWR
Marco Silva [Feb 28, 1:00 PM] We've been mixing SWR and TanStack Query across the dashboard codebase. Time to standardize. Voting in the thread by EOD.
Jenny Liu [Feb 28, 1:14 PM] TanStack Query, strongly. Better invalidation semantics, our backend caching story already assumes optimistic updates.
Aisha Rahman [Feb 28, 1:38 PM] +1 TanStack. Plus our query keys map cleanly to our REST endpoint structure.
Marco Silva [Feb 28, 4:11 PM] Decision: TanStack Query is the standard. Migration plan:
- New code uses TanStack Query.
- SWR-based code stays until next refactor of that surface.
- No mixing within a single feature. Doc updated in Eng Wiki "Frontend Standards".