Staff React, Next.js and React Native roles, freelance projects, and technical writing.
The proxy check. With loading.tsx in the segment, the page already sits inside the Suspense boundary that loading.tsx creates, so an early notFound() in the page can still lose to the shell that went out with a 200. Proxy runs before any rendering. The other option is the existence check in that segment's layout, which sits above the loading boundary, but then a slow lookup holds back the whole response. I haven't tried the layout route on this site.
In practice it isn't visible. The overlay isn't in the server HTML and mounts right after hydration, and until the mouse moves it only paints a faint glow in the top-left corner. So a desktop user gets it a frame late, before they've touched the mouse. I haven't measured it frame by frame, though.