Skip to content

SSR: Phase 1.9 streaming SSR story and server helpers#94

Merged
dbanksdesign merged 2 commits into
mainfrom
fix/streaming-ssr-p1-9
Jun 17, 2026
Merged

SSR: Phase 1.9 streaming SSR story and server helpers#94
dbanksdesign merged 2 commits into
mainfrom
fix/streaming-ssr-p1-9

Conversation

@dbanksdesign

Copy link
Copy Markdown
Collaborator

Summary

  • Expand the SSR guide with request-safe collection (AsyncLocalStorage), an RSC decision table for Next.js App Router, and clearer renderToPipeableStream guidance for custom Node servers.
  • Add SSR helpers on typestyles/server: TYPESTYLES_STYLE_ID, typestylesStyleHtml, injectStylesIntoHtml, and streamingDocumentShell.
  • Cross-link from performance and zero-runtime docs; fix incorrect TypestylesProvider references to TypestylesStylesheet.

Test plan

  • pnpm test -- src/server.test.ts in packages/typestyles
  • pnpm build in packages/typestyles (bundle budget unchanged)
  • Review SSR doc examples for Express, Remix, and Next.js App Router patterns

Made with Cursor

dbanksdesign and others added 2 commits June 16, 2026 22:19
Document request-safe collection, RSC patterns, and renderToPipeableStream
usage; add typestylesStyleHtml, injectStylesIntoHtml, streamingDocumentShell,
and TYPESTYLES_STYLE_ID on typestyles/server.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@dbanksdesign dbanksdesign merged commit 47bc7bd into main Jun 17, 2026
6 checks passed
@dbanksdesign dbanksdesign deleted the fix/streaming-ssr-p1-9 branch June 17, 2026 05:21
@github-actions github-actions Bot mentioned this pull request Jul 4, 2026
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.

1 participant