You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loving TanStack Start. We use it a lot at Cloudflare. One thing I'd love to discuss is data fetching. In TanStack Start there are roughly 3 ways I'd fetch data currently:
Server Functions - By far my favorite way. Feels very idiomatic TanStack docs
Server Routes - Easy to create a simple REST API inside of TanStack docs. Could be combined with TanStack Query
fetch / TanStack Query to external API - At Cloudflare we're fans of Hono. It's a great way to create a REST API on Cloudflare Workers, but it feels the least idiomatic for TanStack since you can Server fns and Server routes (1, 2)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi y'all,
Loving TanStack Start. We use it a lot at Cloudflare. One thing I'd love to discuss is data fetching. In TanStack Start there are roughly 3 ways I'd fetch data currently:
How is everyone thinking about this?
Beta Was this translation helpful? Give feedback.
All reactions