Cloudflare DevelopersCD
Cloudflare Developers7mo ago
9 replies
a-poor

Queues with TanStack Start?

I'm testing out using TanStack Start for an application, based on the framework quick start in the cloudflare docs (https://developers.cloudflare.com/workers/framework-guides/web-apps/tanstack/) but I'm not seeing a way to customize the worker code if I want to also add a Queue Consumer or a DO. Does anyone know how I can do that?

It looks like react router, for example, will give you a way to generate a request handler (https://github.com/remix-run/react-router-templates/blob/main/cloudflare-d1/workers/app.ts).
Cloudflare Docs
Create a TanStack Start application and deploy it to Cloudflare Workers with Workers Assets.
TanStack
Was this page helpful?