Skip to content

Extract VariantsSection with independent Suspense boundary#6186

Draft
simeonlee wants to merge 1 commit intosimeonlee/fn-detail-extract-datafrom
simeonlee/fn-detail-variants-suspense
Draft

Extract VariantsSection with independent Suspense boundary#6186
simeonlee wants to merge 1 commit intosimeonlee/fn-detail-extract-datafrom
simeonlee/fn-detail-variants-suspense

Conversation

@simeonlee
Copy link
Member

Summary

  • Extracts the variants table into its own VariantsSection component with independent Suspense boundary
  • Variants now stream independently — they render as soon as their data loads, isolated from other sections
  • Includes dedicated skeleton (3-row table) and error state (table with error notice)
  • Remaining sections still share a single combined Suspense boundary

Part 3 of the function detail page streaming refactor (split from #6082). Stacks on #6181.

Give the variants table its own streaming promise and Suspense boundary
with dedicated skeleton and error states. Variants now render independently
of other sections — errors are isolated and data appears as soon as it loads.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant