TanStackT
TanStack15mo ago
20 replies
dead-brown

`createRouter` types: not passing convex property through

I'm having trouble with types when I copy the https://github.com/TanStack/router/tree/main/examples/react/start-convex-trellaux/convex example outside the monorepo.

In the monorepo createRouter properly forwards the context, but when I copy the example out of the monorepo the context is gone.

I'll look into it, just checking if anyone's aware of the context property not being properly forwarded in some situations.
image.png
image.png
GitHub
🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering. - TanStack/router
router/examples/react/start-convex-trellaux/convex at main · TanSta...
Was this page helpful?