gillkyle / tanstack-react-vite-template

3 stars 0 forks source link

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. #1

Open grmkris opened 9 months ago

grmkris commented 9 months ago
image

related to

<TanStackRouterDevtools />
grmkris commented 9 months ago

well this fixes it:

<Suspense fallback={<div>Loading...</div>}> {/* Fallback UI */}
            <TanStackRouterDevtools />
        </Suspense>

but idk why it happens, this is not mentioned in tanstack router docs