Skip to content
Agentmart
Submit a tool

react-hooks

Provides comprehensive guidance for React Hooks including useState, useEffect, useContext, useReducer, useMemo, useCallback, custom hooks, and hook patterns.

Skill by full-stack-skills

IndexedApache-2.0★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/full-stack-skills-react-hooks

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Provides comprehensive guidance for React Hooks including useState, useEffect, useContext, useReducer, useMemo, useCallback, custom hooks, and hook patterns. Use when the user asks about React Hooks, needs to use hooks in functional components, create custom hooks, or optimize hook performance.

Use cases: frontend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/react-hooks

What's inside

Skill name
react-hooks
Description
Provides comprehensive guidance for React Hooks including useState, useEffect, useContext, useReducer, useMemo, useCallback, custom hooks, and hook patterns. Use when the user asks about React Hooks, needs to use hooks in functional components, create custom hooks, or optimize hook performance.
License
Apache-2.0
Instructions
22 lines in SKILL.md · view on GitHub

Files (3)

  • LICENSE.txt
  • SKILL.md
  • openai.yaml · agents/

SKILL.md (first lines)

## When to use this skill

Use this skill whenever the user wants to:
- 用 React Hooks(useState、useEffect、useContext、自定义)管理状态与副作用
- 遵循 Hooks 规则与最佳实践、避免闭包与依赖问题

## How to use this skill

1. **基础**:useState、useEffect(依赖数组、清理函数);useContext、useRef。
2. **进阶**:useMemo、useCallback、自定义 Hook;useReducer、useLayoutEffect。
3. **参考**:https://react.dev/reference/react

## Best Practices

- 依赖数组完整;清理订阅与定时器。
- 自定义 Hook 命名 useXxx;避免条件/循环中调 Hook。

## Keywords

React Hooks, useState, useEffect, 自定义 Hook

From full-stack-skills/react-skills, Apache-2.0.

Signals

Stars
2
Forks
1
Open issues
0
Last commit (this folder)
Oct 3, 2026 (25 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from full-stack-skills

Cite this page

react-hooks skill. Agent Mart. https://agentmart.dev/skills/full-stack-skills-react-hooks (last updated 2026-10-24)