Repository navigation
Turbopack does not hydrate _app.tsx in background tabs #90681
Unanswered
zhangshipeng-create
asked this question in
App Router
Replies: 1 comment 2 replies
|
When running Turbopack in development, pages opened in background tabs can show delayed React hydration. Browsers throttle JavaScript in inactive tabs, and Turbopack’s lazy dev runtime combined with React’s hydration scheduling makes that delay visible; Webpack often hides it because it eagerly executes bundles. This only happens in dev mode and does not affect production builds. To reproduce or avoid it while testing, open the tab (or run a production build) so hydration runs without throttling. If it bothers you: run dev with Webpack |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
in pages router app , When using Turbopack in a Next.js project, _app.tsx does not hydrate properly in background tabs (non-active browser tabs). This issue does not occur when using Webpack. It seems to be related to Turbopack's optimization or browser behavior.
All reactions