TanStackT
TanStack17mo ago
1 reply
moderate-tomato

500ms delay loading lazy routes

I just followed the react getting started guide and noticed that there's a 500ms delay on loading the default index and the about route. I fired up react profiler and it shows Memo(MatchInnerImpl) suspended during mount it lasts for ~500ms before rendering the route. Is this normal or am I missing something? 500 ms delay to render an almost empty component seems too high.

Code here:
https://stackblitz.com/edit/vitejs-vite-gfcz4b?file=src%2Fmain.tsx
image.png
StackBlitzRichmond Macaspac
Next generation frontend tooling. It's fast!
TanStack Router perf (forked) - StackBlitz
Was this page helpful?