solidjs-reactivity

Explain SolidJS signals, effects, and memos with anti-pattern corrections.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/IlyaGulya/claude-marketplace --skill solidjs-reactivity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solidjs-reactivity
Source: https://github.com/IlyaGulya/claude-marketplace/tree/main/plugins/solidjs/skills/solidjs-reactivity
Command: npx skills add https://github.com/IlyaGulya/claude-marketplace --skill solidjs-reactivity

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers understand and implement the core reactive programming model of SolidJS, preventing common pitfalls and ensuring efficient, predictable component behavior.

Core Features & Use Cases

  • SolidJS Reactivity Fundamentals: Explains signals, effects, memos, and their tracking scopes.
  • Common Pitfall Identification: Details anti-patterns and provides correct alternatives for props, conditional logic, derived state, and async operations.
  • Use Case: A developer new to SolidJS can use this Skill to quickly grasp the fundamental differences from React and avoid common mistakes, leading to more robust and performant applications.

Quick Start

Explain the core mental model of SolidJS components.

Frequently Asked Questions about solidjs-reactivity

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

FAQPage Schema
How does SolidJS reactivity work compared to React?

SolidJS reactivity relies on signals, memos, and effects where components run once and updates are fine-grained. Unlike React, components do not re-run on state changes; instead, reactive primitives automatically update only the specific DOM nodes that depend on the changed state.

Why does prop destructuring break SolidJS reactivity?

Prop destructuring breaks SolidJS reactivity by losing the tracking context. When you destructure props, you evaluate the reactive signal immediately, separating it from the fine-grained update mechanism and preventing automatic DOM updates when the underlying value changes.

How do I handle async operations in SolidJS without losing the tracking scope?

To handle async operations in SolidJS without breaking tracking scope, you must access signals and props before entering the asynchronous callback. Reading reactive state inside an async function after an await breaks the tracking context and prevents effects from subscribing to changes.

What is the best way to write conditional logic outside JSX in SolidJS?

The best way to handle conditional logic outside JSX in SolidJS is using memos or reactive expressions. Because components only execute once, wrapping conditional state in a memo ensures the logic re-evaluates automatically when dependencies change, maintaining fine-grained reactivity.

When should I use memos instead of signals in SolidJS?

You should use memos instead of signals in SolidJS when you need to compute derived state. Memos cache the result of a reactive expression and only recalculate when their dependencies change, preventing redundant computations and ensuring efficient fine-grained updates.