Server Actions + React Query

Back to home

Live API data with a cached client

Server actions fetch from the API while TanStack Query manages caching, refetching, and loading states.

Fetching posts from the API...