medium78%
Stale cached page list on first client navigation after rewrite in Pages Router dev
In Next.js Pages Router development with Turbopack, when a new page is materialized on demand and a client-side navigation is rewritten via proxy.ts to that new page, the client uses a stale build manifest. This causes route-loader.loadRoute to fail with 'Expected component ... to be defined' even though the server can already serve the rewritten page. A hard refresh works because the fresh manifest is loaded.
