react-hook
✓コールバックをカスタム フックに渡す場合、react-hooks/exhaustive-deps 警告を修正する場合、または React コンポーネントでの予期しない再レンダリングをデバッグする場合に使用します。
SKILL.md
| Must start with use | React's hook detection | | One hook per file | Maintainability | | Never call conditionally | Breaks hook order | | Never return side effects | Unpredictable behavior | | Type inputs and outputs | Clarity and safety | | Test in isolation | Reliability |
On memoization: Only use useMemo/useCallback when logic is computationally heavy. Otherwise they degrade readability without meaningful benefit. Exception: callbacks passed TO hooks (see stability section below).
When you fix an ESLint exhaustive-deps warning by adding a dependency, check if that dependency is STABLE. If not, you've created a re-render loop.
コールバックをカスタム フックに渡す場合、react-hooks/exhaustive-deps 警告を修正する場合、または React コンポーネントでの予期しない再レンダリングをデバッグする場合に使用します。 ソース: bumgeunsong/daily-writing-friends。
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/bumgeunsong/daily-writing-friends --skill react-hook- カテゴリ
- </>開発ツール
- 認証済み
- ✓
- 初回登録
- 2026-02-05
- 更新日
- 2026-02-18
クイックアンサー
react-hook とは?
コールバックをカスタム フックに渡す場合、react-hooks/exhaustive-deps 警告を修正する場合、または React コンポーネントでの予期しない再レンダリングをデバッグする場合に使用します。 ソース: bumgeunsong/daily-writing-friends。
react-hook のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/bumgeunsong/daily-writing-friends --skill react-hook インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/bumgeunsong/daily-writing-friends
詳細
- カテゴリ
- </>開発ツール
- ソース
- skills.sh
- 初回登録
- 2026-02-05