🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@solidjs/web

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solidjs/web

Solid's web runtime: client rendering, hydration, SSR, and DOM-specific control flow (Portal, Dynamic).

Source
npmnpm
Version
2.0.0-beta.9
Version published
Weekly downloads
4.6K
89.55%
Maintainers
2
Weekly downloads
 
Created
Source

@solidjs/web

Solid 2.0's web platform runtime — DOM rendering, hydration, server-side rendering, and the web-only control-flow components (Portal, Dynamic).

Solid 2.0 (experimental beta). In 1.x this package was the solid-js/web subpath; in 2.0 it's a separate @solidjs/web package.

See solid-js's CHEATSHEET and MIGRATION guide for the 2.0 surface.

Entry points

// Browser / hydration
import { render, hydrate, Portal, Dynamic, dynamic } from "@solidjs/web";

// Server (SSR)
import {
  renderToString,
  renderToStringAsync,
  renderToStream,
  isServer
} from "@solidjs/web";

The control-flow components from solid-js (For, Show, Switch/Match, Loading, Errored, Repeat, Reveal) are also re-exported from @solidjs/web for convenience.

More

FAQs

Package last updated on 28 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts