solidjs-stores

Manage nested SolidJS state with createStore, produce, reconcile, and unwrap.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps manage complex, nested state in SolidJS applications, ensuring fine-grained reactivity and efficient updates for objects, arrays, and deeply nested data structures.

Core Features & Use Cases

  • Fine-grained Reactivity: createStore tracks changes to individual properties within nested objects and arrays, optimizing re-renders.
  • Efficient State Updates: Supports various setter patterns, including path syntax and Immer-style mutations with produce, for precise state modifications.
  • Data Synchronization: reconcile efficiently diffs new data against existing store data, ideal for integrating API responses.
  • Use Case: When managing application-wide state like user profiles, settings, or complex form data in a SolidJS app, createStore provides a robust and performant solution.

Quick Start

Use the solidjs-stores skill to create a store for managing user data with nested properties.

Frequently Asked Questions about solidjs-stores

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

FAQPage Schema
How do I manage complex nested state in SolidJS without unnecessary re-renders?

Manage complex nested state in SolidJS using `createStore` to enable fine-grained reactivity. This tracks changes to individual properties within objects and arrays, ensuring efficient updates and optimizing component re-renders.

How do I update nested objects in a SolidJS store using Immer-style mutations?

Update nested objects in a SolidJS store using Immer-style mutations by applying the `produce` function. This allows precise state modifications through direct mutable syntax within your store setter patterns.

What is the best way to sync API responses into existing SolidJS store data?

Sync API responses into existing SolidJS store data using `reconcile`. This function efficiently diffs new data against your current store state, making it ideal for integrating external API responses.

When should I use createStore instead of createSignal for SolidJS state management?

Use `createStore` instead of `createSignal` when managing complex, nested data structures like objects and arrays in SolidJS. `createStore` provides fine-grained reactivity for individual properties, whereas `createSignal` is better suited for primitive values.

How do I read the current state of a SolidJS store without triggering reactivity?

Read the current state of a SolidJS store without triggering reactivity by using the `unwrap` function. This allows you to access the plain data object for logging or debugging purposes without establishing reactive dependencies.