solidjs

Guide users in building reactive SolidJS UIs with signals, effects, and memos.

4|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/mgd34msu/goodvibes-gemini --skill solidjs-mgd34msu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solidjs
Source: https://github.com/mgd34msu/goodvibes-gemini/tree/main/skills/solidjs
Command: npx skills add https://github.com/mgd34msu/goodvibes-gemini --skill solidjs-mgd34msu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide and examples for building high-performance, reactive user interfaces using the SolidJS library, focusing on its fine-grained reactivity system without a virtual DOM.

Core Features & Use Cases

  • Reactivity Primitives: Learn to use createSignal, createEffect, and createMemo for managing state and side effects.
  • Component Development: Understand how to create and manage components, including props, children, and context.
  • Control Flow: Implement dynamic rendering with Show, For, Index, Switch, and Dynamic.
  • Advanced State Management: Utilize createStore for complex, nested state.
  • Asynchronous Operations: Handle data fetching and loading states with createResource and Suspense.
  • Use Case: Quickly scaffold a new SolidJS application by following the provided setup instructions and implementing reactive components for a dynamic dashboard.

Quick Start

Follow the instructions to create a new SolidJS project using npx degit solidjs/templates/ts my-app, then install dependencies with npm install and start the development server with npm run dev.

Frequently Asked Questions about solidjs

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

FAQPage Schema
How does fine-grained reactivity work in SolidJS without a virtual DOM?

SolidJS uses fine-grained reactivity by directly updating the DOM through signals and effects, avoiding virtual DOM overhead. This approach tracks dependencies precisely, updating only affected nodes when state changes, resulting in high-performance UI rendering.

How do I scaffold and start a new SolidJS application?

To scaffold a SolidJS application, run `npx degit solidjs/templates/ts my-app`, then execute `npm install` to add dependencies and `npm run dev` to start the development server for building reactive UIs.

What is the best way to manage complex nested state in a SolidJS application?

The best way to manage complex nested state in SolidJS is using `createStore`. It provides advanced state management capabilities, allowing you to update deeply nested objects and arrays reactively without requiring manual immutable updates.

How do I handle asynchronous data fetching and loading states in SolidJS?

Handle asynchronous data fetching in SolidJS using `createResource` combined with `Suspense`. `createResource` manages the data promise and loading state, while `Suspense` declaratively renders fallback UI until the data resolves.

When should I use control flow components like Show, For, and Index in SolidJS?

Use SolidJS control flow components like `Show`, `For`, `Index`, and `Switch` for dynamic rendering. `Show` handles conditional rendering, while `For` and `Index` manage list iteration, ensuring fine-grained updates when underlying data changes.

Can I use reactivity primitives like createSignal and createMemo for managing side effects?

Yes, SolidJS provides `createSignal` for managing state and `createMemo` for caching derived values. To manage side effects based on reactive dependencies, use `createEffect`, which automatically tracks signals and re-runs when they change.