lang-react
CommunityDeclarative React patterns with external state.
Authorcodethread
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill codifies the pattern of building React SPAs where components are declarative and rely on external stores or state machines (Zustand/XState/TanStack Query), keeping logic out of components.
Core Features & Use Cases
- Stores and machines tested in isolation; components focus on rendering
- Recommendations for state management stacks: TanStack Query, Zustand, XState
- Guidance on patterns like inline props, pattern matching, and CSS-in-JS
- Use Case: Build a dashboard by composing store-based logic and render with minimal component state
Quick Start
Create a small sample app that uses a Zustand store to fetch and display user data, and verify it uses stores rather than component state for logic.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: lang-react Download link: https://github.com/codethread/claude-code-plugins/archive/main.zip#lang-react Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.