Skip to content

Add renderToString RFC#18

Merged
NullVoxPopuli merged 2 commits into
NullVoxPopuli:nvp/renderToStringfrom
NullVoxPopuli-ai-agent:render-to-string
Jul 2, 2026
Merged

Add renderToString RFC#18
NullVoxPopuli merged 2 commits into
NullVoxPopuli:nvp/renderToStringfrom
NullVoxPopuli-ai-agent:render-to-string

Conversation

@NullVoxPopuli-ai-agent

Copy link
Copy Markdown

Proposes renderToString in @ember/renderer — the SSR counterpart to renderComponent (RFC emberjs#1099) — plus env.rehydrate on renderComponent for the client-side round trip. Based on the shape of emberjs/ember.js#21481.

Notable positions taken:

  • A server render is a real render: modifiers run, rendering settles before serialization, no isInteractive/hasDOM/document options.
  • The environment provides the global document (happy-dom in Node); no SimpleDOM, nothing new in the published build.
  • FastBoot is explicitly unsupported — FastBoot would need to be updated to build on this API, out of scope here.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@bolt-new-by-stackblitz

Copy link
Copy Markdown

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

…streaming as separate RFC

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@NullVoxPopuli NullVoxPopuli merged commit 1f3e39d into NullVoxPopuli:nvp/renderToString Jul 2, 2026
1 check passed
@NullVoxPopuli NullVoxPopuli deleted the render-to-string branch July 2, 2026 16:53
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