Thursday, May 16, 2024

Solid.js + Signals

A Solid primer on Signals with Ryan Carniato (JS Party #320) podcast

Solid JS

Simple and performant reactivity for building user interfaces.

By far the easiest way to get started with Solid is to try it online. Our REPL at is the perfect way to try out ideas. 

As is where you can modify any of our Examples.

Solid is a declarative JavaScript library for creating user interfaces. Instead of using a Virtual DOM, it compiles its templates to real DOM nodes and updates them with fine-grained reactions. Declare your state and use it throughout your app, and when a piece of state changes, only the code that depends on it will rerun.


Signals are the cornerstone of reactivity in Solid. They contain values that change over time; when you change a signal's value, it automatically updates anything that uses it.

No comments: