TanStackT
TanStack4w ago
8 replies
brilliant-lime

requestMiddleware with defaultSsr: false

I’m running TanStack Start in SPA mode (defaultSsr: false) and using Clerk in requestMiddleware.

From my understanding the flow is:
serverFn call → requestMiddleware → serverFn handler

That said, this setup is currently breaking with this console error:
Unhandled Promise Rejection: SyntaxError: Importing binding name 'parse' is not found.

Just double-checking that the clerk in requestMiddleware should still run for server functions / API routes, right? Is it clerk breaking in the beta support or is it me misunderstanding the model
Was this page helpful?