fe-react-patterns
CommunityCompose-first React patterns for cleaner UI.
Software Engineering#react#composition#state-management#design-patterns#ui-architecture#component-design
AuthorConradmaker
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Overly complex React component APIs caused by numerous boolean props lead to hard-to-maintain code and unpredictable UI. This skill promotes composition-first patterns to create explicit variants and compound components, making APIs easier to understand and reuse.
Core Features & Use Cases
- Composition over configuration: break booleans into small, explicit components (Frame, Header, Input) and separate variants (ThreadComposer, EditComposer, ForwardComposer).
- Compound Components for shared state: use a context-driven provider to share state across related parts without tight coupling.
- Explicit Variants: provide dedicated components that reveal purpose and required state, reducing guesswork.
- Children over Render Props: prefer nested composition to render props for clearer structure.
Quick Start
Start by composing a ChannelComposer with Composer.Frame, Composer.Header, Composer.Input, and a Footer containing Formatting, Emojis, and Submit.
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: fe-react-patterns Download link: https://github.com/Conradmaker/copilot-cockpit/archive/main.zip#fe-react-patterns 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 471,000+ vetted skills library on demand.