·react-use-state
</>

react-use-state

flpbalada/my-opencode-config

React useState フックの適切な使用法をガイドします。このスキルは、コンポーネントに状態を追加するとき、useState と代替手段のどちらかを決定するとき、または状態更新の問題のトラブルシューティングを行うときに使用します。

2インストール·0トレンド·@flpbalada

インストール

$npx skills add https://github.com/flpbalada/my-opencode-config --skill react-use-state

SKILL.md

useState is a React Hook that adds a state variable to your component, triggering re-renders when the state changes.

| Form inputs | const [name, setName] = useState('') | | UI state | const [isOpen, setIsOpen] = useState(false) | | Simple counters | const [count, setCount] = useState(0) | | Local component data | const [items, setItems] = useState([]) |

If a value can be computed from props or other state, don't store it:

React useState フックの適切な使用法をガイドします。このスキルは、コンポーネントに状態を追加するとき、useState と代替手段のどちらかを決定するとき、または状態更新の問題のトラブルシューティングを行うときに使用します。 ソース: flpbalada/my-opencode-config。

原文を見る

引用可能な情報

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

インストールコマンド
npx skills add https://github.com/flpbalada/my-opencode-config --skill react-use-state
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-01
更新日
2026-02-18

クイックアンサー

react-use-state とは?

React useState フックの適切な使用法をガイドします。このスキルは、コンポーネントに状態を追加するとき、useState と代替手段のどちらかを決定するとき、または状態更新の問題のトラブルシューティングを行うときに使用します。 ソース: flpbalada/my-opencode-config。

react-use-state のインストール方法は?

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

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

https://github.com/flpbalada/my-opencode-config