·react-useeffect
</>

react-useeffect

nweii/agent-stuff

React useEffect best practices. Use when writing Effects, derived values, or data fetching. Teaches when NOT to use Effects and better alternatives like useMemo or key props.

4Installs·0Trend·@nweii

Installation

$npx skills add https://github.com/nweii/agent-stuff --skill react-useeffect

SKILL.md

Effects are an escape hatch from React. They let you synchronize with external systems. If there is no external system involved, you shouldn't need an Effect.

| Derived state from props/state | useState + useEffect | Calculate during render | | Expensive calculations | useEffect to cache | useMemo | | Reset state on prop change | useEffect with setState | key prop | | User event responses | useEffect watching state | Event handler directly |

| Notify parent of changes | useEffect calling onChange | Call in event handler | | Fetch data | useEffect without cleanup | useEffect with cleanup OR framework |

React useEffect best practices. Use when writing Effects, derived values, or data fetching. Teaches when NOT to use Effects and better alternatives like useMemo or key props. Source: nweii/agent-stuff.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/nweii/agent-stuff --skill react-useeffect
Category
</>Dev Tools
Verified
First Seen
2026-02-03
Updated
2026-02-18

Quick answers

What is react-useeffect?

React useEffect best practices. Use when writing Effects, derived values, or data fetching. Teaches when NOT to use Effects and better alternatives like useMemo or key props. Source: nweii/agent-stuff.

How do I install react-useeffect?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/nweii/agent-stuff --skill react-useeffect Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/nweii/agent-stuff