bundle-analyzer: suspend while loading analyzer data (#98535)
## Summary Use SWR Suspense for required analyzer datasets and move loading behavior into explicit Suspense and error boundaries. Split selected-route and valid-comparison subtrees so resolved route and module data has non-null contracts. Keep optional history, metadata, and one-sided comparison data nullable where absence is part of the UI state. ## Verification - `pnpm --filter=@next/bundle-analyzer-ui exec tsc --noEmit` - focused ESLint for changed files - `pnpm --filter=@next/bundle-analyzer-ui build` <!-- NEXT_JS_LLM --> --------- Co-authored-by:vercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com> Co-authored-by:
Will Binns-Smith <755844+wbinnssmith@users.noreply.github.com>
Showing
This diff is collapsed.
Please
register
or
sign in
to comment