solid-core-reactivity-model

Diagnose SolidJS reactivity tracking issues and explain single-run component execution.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers reason about SolidJS reactivity, diagnose tracking issues, and understand why component functions run only once, preventing React mental-model contamination.

Core Features & Use Cases

  • In-depth explanations of signals, memos, effects, tracking scopes, and ownership trees.
  • Guidance on debugging reactive graphs, ownership lifetimes, and cleanup with onCleanup and onSettled.
  • Practical scenarios showing how SolidJS avoids virtual DOM diffing by using direct DOM bindings.

Quick Start

Experiment with the included examples to observe how signals, memos, and effects form a reactive graph.

Frequently Asked Questions about solid-core-reactivity-model

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

FAQPage Schema
Why does my SolidJS component function run only once instead of re-rendering?

SolidJS components run only once because the framework uses fine-grained reactivity and direct DOM bindings instead of virtual DOM diffing. Reactive updates target specific DOM nodes through signals and effects, entirely avoiding the component re-execution model found in React.

How do I debug tracking issues in a SolidJS reactive graph?

Debug SolidJS tracking issues by analyzing how signals, memos, and effects form a reactive graph. Inspect ownership trees and tracking scopes to ensure dependencies are correctly captured within the intended execution context without leaking.

How does ownership and cleanup work with onCleanup in SolidJS?

SolidJS ownership governs the lifecycle of reactive scopes, automatically cleaning up child effects and memos when a parent scope disposes. Use onCleanup to manually register disposal logic tied to the current ownership tree.

Do I need to use memos for derived state in SolidJS?

Memos in SolidJS cache and track derived reactive values within the ownership tree. They prevent redundant recomputation by ensuring downstream effects only re-execute when the memo's value actually changes, optimizing the reactive graph.

What is the difference between SolidJS reactivity and React state updates?

SolidJS reactivity updates the DOM directly through fine-grained tracking, bypassing virtual DOM diffing entirely. Unlike React's component-level re-rendering, SolidJS executes component functions once and relies purely on signals and effects for state propagation.