Skip to content

docs: table rows need an explicit <tbody> under SSR - #1695

Merged
ryansolid merged 1 commit into
v2-rebuildfrom
claude/project-thread-c5xes4-4875
Nov 15, 2026
Merged

ryansolid merged 1 commit into
v2-rebuildfrom
claude/project-thread-c5xes4-4875

Conversation

@ryansolid

Copy link
Copy Markdown
Member
  • I have read the Contribution guide
  • This PR references an issue (except for typos, broken links, or other minor problems)

Description(required)

This is the docs half of solidjs/solid#4875. The code half is solidjs/solid#4895, which adds the dev warning TABLE_ROWS_WITHOUT_TBODY.

A <table> whose rows come from a <For> or a row component has no <tr> in its own template. The compiler's malformed-HTML check therefore passes. In the browser, though, the HTML parser moves the server-rendered rows into a <tbody> it creates. After hydration the list cannot update those rows: removed rows stay on the page, and new rows are inserted after the <tbody>.

  • guides/data-fetching-patterns: the paginated orders example now wraps its <For> in <tbody>. The old version showed the broken shape.
  • guides/ssr-safe-code ("Markup the browser rewrites"): adds table rows as the common case of nesting the compiler cannot see across components. It names the dev warning and gives an Avoid/Prefer pair.

These pages are hand-written guides. The generated diagnostics reference page for the new code comes from pnpm sync:diagnostics once solidjs/solid#4895 lands.

This should merge together with solidjs/solid#4895, because the guide names a warning that PR adds.

Related issues & labels


Generated by Claude Code

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify

netlify Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for solid-docs-v2 ready!

Name Link
🔨 Latest commit 1f63be0
🔍 Latest deploy log https://app.netlify.com/projects/solid-docs-v2/deploys/6af97295243c385250d24bd4
😎 Deploy Preview https://deploy-preview-1695--solid-docs-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@ryansolid
ryansolid merged commit a0dcac5 into v2-rebuild Nov 15, 2026
8 checks passed
@ryansolid
ryansolid deleted the claude/project-thread-c5xes4-4875 branch November 15, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants