Skip to content

2.0.0-beta.17: <Portal> hard-crashes SSR #2876

Description

@brenelz

https://stackblitz.com/edit/solidjs-templates-nv2dc94e?file=src%2Froutes%2FHome.tsx

Server Portal is throw new Error("Portal is not supported on the server"); 1.x rendered "" (no-op, confirmed against 1.x dist). Any isomorphic tree with a modal/tooltip crashes renderToString/renderToStream, or — worse — bakes the Errored fallback into the streamed HTML while a pure client render shows the app.

Server: packages/solid-web/server/index.ts:128-130. Client: packages/solid-web/src/index.ts:209-262. Minimum fix: 1.x no-op + client-side hydration skip.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions