Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SolidStart: expand docs on rendering modes #1308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
atilafassina wants to merge 12 commits into main
base: main
Choose a base branch
Loading
from docs/rendering-modes

Conversation

@atilafassina
Copy link
Member

@atilafassina atilafassina commented Oct 20, 2025

This better clarifies how to change rendering mode per route, in the configuration, and what would be the use-cases for each mode.

Copy link

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

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the SolidStart documentation by expanding the explanation of rendering modes (sync, async, and stream). It clarifies how to configure rendering modes globally and per-route, and provides guidance on when to use each mode.

  • Adds a comprehensive new page explaining rendering modes with use cases and feature comparisons
  • Updates configuration and server entry point references to link to the new rendering modes documentation
  • Adds mode parameter documentation to the config reference

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/routes/solid-start/building-your-application/rendering-modes.mdx New comprehensive guide explaining the three rendering modes, their features, and configuration options
src/routes/solid-start/building-your-application/data.json Adds the new rendering modes page to the navigation
src/routes/solid-start/reference/server/create-handler.mdx Updated to reference the new rendering modes page and improved type signature documentation
src/routes/solid-start/reference/entrypoints/entry-server.mdx Simplified with references to the new rendering modes documentation
src/routes/solid-start/reference/config/define-config.mdx Added mode parameter documentation and formatting improvements

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

atilafassina and others added 5 commits October 20, 2025 18:37
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@atilafassina atilafassina marked this pull request as ready for review October 20, 2025 16:38
Copy link

netlify bot commented Oct 20, 2025
edited
Loading

Deploy Preview for solid-docs ready!

Name Link
🔨 Latest commit c83f957
🔍 Latest deploy log https://app.netlify.com/projects/solid-docs/deploys/68f664d54d382500088bdeea
😎 Deploy Preview https://deploy-preview-1308--solid-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

netlify bot commented Oct 20, 2025
edited
Loading

Deploy Preview for solid-docs ready!

Name Link
🔨 Latest commit b7fb815
🔍 Latest deploy log https://app.netlify.com/projects/solid-docs/deploys/68fda763ae72230008385d0a
😎 Deploy Preview https://deploy-preview-1308--solid-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@atilafassina atilafassina enabled auto-merge (squash) October 21, 2025 07:28
Let's talk about how each of them work and which one to pick.

:::note
Default is **stream** and performance-wise should be preferred as a rule-of-thumb.
Copy link
Collaborator

@danieljcafonso danieljcafonso Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why should this be preferred?

---

SolidStart has 3 kinds of rendering modes: `sync`, `async`, and `stream`.
Let's talk about how each of them work and which one to pick.
Copy link
Collaborator

@danieljcafonso danieljcafonso Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line makes sense in a blogpost or guide. Maybe for this scenario you can just remove it?

All modes have some degree of Server-Side Rendering, you may need to change them globally depending on your deployment provider.
And you may prefer to override them for better bot support and SEO.

## Impacted Features
Copy link
Collaborator

@danieljcafonso danieljcafonso Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you provide some extra context that makes the next table understandable. Currently I was trying to figure out what each item means and how it impacts those features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@danieljcafonso danieljcafonso danieljcafonso left review comments

Copilot code review Copilot Copilot left review comments

At least 1 approving review is required to merge this pull request.

Labels

solidstart Related to SolidStart

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /