react-effect-patterns

Community

Cleaner React effects with proven patterns.

Authornbbaier
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Misuses and unclear patterns of React useEffect lead to hard-to-maintain code, unnecessary renders, and subtle bugs. This Skill provides a structured approach to evaluating when to use effects and how to avoid common anti-patterns.

Core Features & Use Cases

  • Provides a decision tree and best-practice guidance for useEffect, derived state, and event handling.
  • Documents common anti-patterns with concrete replacements to reduce unnecessary effects and improve readability.
  • Useful during writing, reviewing, or refactoring React components that rely on effects, data fetching, or synchronization with external systems.

Quick Start

Refactor a component by applying the guidelines to minimize unnecessary effects and improve clarity.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: react-effect-patterns
Download link: https://github.com/nbbaier/agent-skills/archive/main.zip#react-effect-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.