back
loading skill details...
|
SolidJS Development
SolidJS is a declarative JavaScript library for building user interfaces with fine-grained reactivity. Unlike virtual DOM frameworks, Solid compiles templates to real DOM nodes and updates them with fine-grained reactions.
Core Principles
Components run once — Component functions execute only during initialization, not on every update
Fine-grained reactivity — Only the specific DOM nodes that depend on changed data update
No virtual DOM — Direct DOM manipulation via compiled templates
Signals are functions — Access values by calling: count() not count
Reactivity Primitives
Signals — Basic State
import { createSignal } from "solid-js";
const [count, setCount] = createSignal(0);don't have the plugin yet? install it then click "run inline in claude" again.