TanStackRouterDevtools error
when using lazy TanStackRouterDevtools I get errors
"A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition."
im using file based routing, with vite.
__root.tsx
using import { TanStackRouterDevtools } from '@tanstack/router-devtools' fixes everything, but I'd like the lazy loading version.
2 Replies
stormy-gold•2y ago
how about wrapping
TanStackRouterDevtools in Suspense?
metropolitan-bronzeOP•2y ago
thanks, it worked