·writing-react-effects
</>

writing-react-effects

不要な useEffect を使用せずに React コンポーネントを作成します。 React コンポーネントの作成/レビュー、エフェクトのリファクタリング、またはコードで useEffect を使用してデータの変換やイベントの処理を行う場合に使用します。

41インストール·1トレンド·@dust-tt

インストール

$npx skills add https://github.com/dust-tt/dust --skill writing-react-effects

writing-react-effects のインストール方法

コマンドラインで writing-react-effects AI スキルを開発環境にすばやくインストール

  1. ターミナルを開く: ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます
  2. インストールコマンドを実行: このコマンドをコピーして実行します: npx skills add https://github.com/dust-tt/dust --skill writing-react-effects
  3. インストールを確認: インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソース: dust-tt/dust。

Guides writing React components that avoid unnecessary useEffect calls.

Effects are an escape hatch for synchronizing with external systems (network, DOM, third-party widgets). If there's no external system, you don't need an Effect.

If a value can be computed from current props/state, do not store it in state or update it in an effect. Derive it during render to avoid extra renders and state drift. Do not set state in effects solely in response to prop changes; prefer derived values or keyed resets instead.

不要な useEffect を使用せずに React コンポーネントを作成します。 React コンポーネントの作成/レビュー、エフェクトのリファクタリング、またはコードで useEffect を使用してデータの変換やイベントの処理を行う場合に使用します。 ソース: dust-tt/dust。

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/dust-tt/dust --skill writing-react-effects
ソース
dust-tt/dust
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-26
更新日
2026-03-10

Browse more skills from dust-tt/dust

クイックアンサー

writing-react-effects とは?

不要な useEffect を使用せずに React コンポーネントを作成します。 React コンポーネントの作成/レビュー、エフェクトのリファクタリング、またはコードで useEffect を使用してデータの変換やイベントの処理を行う場合に使用します。 ソース: dust-tt/dust。

writing-react-effects のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/dust-tt/dust --skill writing-react-effects インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/dust-tt/dust