Frameworks
Frameworks
Use Effetch Query with TanStack Router and Start, Next.js or React Router.
Each framework page builds on Server rendering:
the examples use todos from Getting started and
TodoList from Send the cache. Pick yours:
- TanStack Router and Start: the
@monarcode/effetch-query/react/tanstack-routerintegration,connectQueryClient, sends the cache with the page and loads it before React hydrates. - Next.js: the App Router, with the core and
./reactonly. - React Router: framework mode, with the
core and
./reactonly.
Without a framework, Send the cache and Load the cache in the browser show the whole round trip with any React server renderer.