Solid is a declarative library for building user interfaces in JavaScript. It compiles JSX to real DOM updates driven by tracked signals instead of virtual DOM diffing.
Overview
Solid lets developers describe UI with JSX and reactive state primitives such as signals, memos, stores, and effects. Component functions run once on mount; later updates touch only DOM nodes tied to expressions that read changed state, which the docs illustrate with per-text-node tracking.
The runtime supports microtask-batched updates with an explicit flush for synchronous interop, async data via promises and async iterables, optimistic UI helpers, streaming server rendering, and progressive hydration. TypeScript and JSX are first-class, and universal renderers can target non-DOM environments through dedicated packages.
Recent major releases add first-class async in the reactive graph, optimistic actions, draft-oriented stores, server functions, and diagnostics aimed at agent-assisted development. Tooling spans Vite templates, Babel and native JSX compilers, web component wrappers, and companion ecosystem projects for routing, meta tags, primitives, and testing.
Browser support covers recent evergreen desktop and mobile engines; server-side use is described for current Node LTS, Deno, and Cloudflare Workers. Components are plain functions without enforced read-write segregation, and the design favors direct DOM access over framework-managed rendering passes.
Key features
- Signal-based fine-grained DOM updates
- JSX compiled to direct DOM operations
- Reactive memos, stores, and effects
- Async and optimistic UI primitives
- Streaming SSR and progressive hydration
- TypeScript-first component authoring
- Custom renderers via universal package
- Web component integration support
Use cases
- Building fast interactive web applications
- Projects wanting granular reactivity control
- Apps needing streaming SSR hydration
- Teams standardizing on JSX without VDOM
- Experimental render targets beyond the DOM