You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- pages_controller.rb: scope `before_action :set_comments` to actions that
use @comments (index, no_router) — server_components/simple/rescript no
longer trigger an unused query.
- server_components.html.erb: drop hardcoded `id:` from stream_react_component
call. RoR auto-generates stable unique IDs; hardcoding risks DOM-id
collisions if the helper is ever called twice and diverges from the
default pattern used by /no_router and /simple.
- CommentsFeed.jsx: flip RSC_SUSPENSE_DEMO_DELAY to opt-in (=== 'true').
The previous opt-out guard (!== 'false') made the 800ms delay fire by
default in any deploy without the env var explicitly set.
app.yml: add RSC_SUSPENSE_DEMO_DELAY=true to the review-app template so
the demo still shows the streaming fallback visibly.
- ServerInfo.jsx: drop the Hostname row. The K8s pod name (e.g.
rails-5fc66bddf6-r8b5r) is infrastructure-fingerprinting fodder for
forks deployed publicly, and ServerInfo's "look, server-side data"
intent is fully covered by the remaining six fields.
- stores-registration.js: add a one-line comment noting why 'use client'
sits on a webpack pack entry (excludes the registration code's
dependency graph from the RSC bundle).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments