solidjs
Installation
SKILL.md
SolidJS
SolidJS looks like React but has no Virtual DOM. It compiles to direct DOM updates using fine-grained reactivity (Signals). 2025 focuses on SolidStart (meta-framework).
When to Use
- Performance: Consistently tops benchmarks.
- Real-time: Fine-grained updates make it ideal for dashboards.
- Mental Model: If you prefer "it only runs once" components vs React's re-renders.
Core Concepts
Signals (createSignal)
The atom of state. const [count, setCount] = createSignal(0).
Effects (createEffect)
Runs when dependencies change. Automatic dependency tracking.