solid-syntax-signals

Guide SolidJS developers in implementing reactivity with signals, effects, memos, and resources.

4|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/OpenAEC-Foundation/SolidJS-Claude-Skill-Package --skill solid-syntax-signals
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solid-syntax-signals
Source: https://github.com/OpenAEC-Foundation/SolidJS-Claude-Skill-Package/tree/main/skills/source/solid-syntax/solid-syntax-signals
Command: npx skills add https://github.com/OpenAEC-Foundation/SolidJS-Claude-Skill-Package --skill solid-syntax-signals

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill guides developers to correctly implement SolidJS reactivity by using signals, effects, memos, resources, and lifecycle primitives to prevent React contamination and brittle tracking.

Core Features & Use Cases

  • Comprehensive primitives: createSignal, createEffect, createMemo, createResource, createRenderEffect, createComputed, batch, untrack, on, onMount, onCleanup, observable, and from.
  • Lifecycle, interop, and composition: supports onMount/onCleanup and bridging external data with observable/from interop.
  • Real-world patterns: build responsive UIs, data flows, and fine-grained updates with purely reactive dependencies.

Quick Start

Import createSignal from solid-js and build a simple counter that reads the signal with the getter and updates the UI.

Frequently Asked Questions about solid-syntax-signals

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use SolidJS signals to build a reactive UI?

SolidJS signals provide precise reactivity by using a getter to read state and a setter to update the UI. You import createSignal from solid-js to establish reactive data flows that automatically trigger fine-grained DOM updates.

What is the difference between createEffect and createMemo in SolidJS?

In SolidJS, createMemo caches a computed value to prevent redundant calculations, while createEffect executes side effects. Both track signal dependencies automatically, but memos return a read-only value whereas effects manage lifecycle reactions.

When should I use untrack or batch in SolidJS reactivity?

Use untrack to read signals without creating reactive dependencies, and batch to group multiple signal updates into a single render pass. These SolidJS primitives prevent brittle tracking and optimize fine-grained UI updates.

How do I bridge external data streams into SolidJS reactivity?

You bridge external data into SolidJS reactivity using observable and from interop utilities. These convert external streams into signals, allowing lifecycle-aware components to react to external data flows seamlessly.

Does SolidJS support lifecycle hooks for component cleanup?

Yes, SolidJS supports lifecycle hooks like onMount for initialization and onCleanup for disposal. These hooks ensure components manage resource teardown and setup effectively within the fine-grained reactivity system.

Why does my SolidJS effect run infinitely or miss updates?

Infinite loops or missed updates in SolidJS effects often stem from improper signal tracking or React contamination. Using on, batch, or untrack ensures precise dependency tracking and prevents brittle reactive loops.