什麼是 react-patterns?
使用最少的狀態、適當的記憶和類型安全模式編寫 React 元件。在建立元件、管理狀態或最佳化渲染時使用。 來源:casper-studios/casper-marketplace。
使用最少的狀態、適當的記憶和類型安全模式編寫 React 元件。在建立元件、管理狀態或最佳化渲染時使用。
透過命令列快速安裝 react-patterns AI 技能到你的開發環境
來源:casper-studios/casper-marketplace。
Core React patterns for component design, state management, and optimization.
Avoid state variables. Prefer derived values and props. Scope state to the smallest subtree that needs it. Use discriminated unions for complex state.
Required for any O(n) operation. Memoize atomically to minimize dependency arrays. Use Loader/Inner pattern to narrow types before useMemo.
使用最少的狀態、適當的記憶和類型安全模式編寫 React 元件。在建立元件、管理狀態或最佳化渲染時使用。 來源:casper-studios/casper-marketplace。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/casper-studios/casper-marketplace --skill react-patterns使用最少的狀態、適當的記憶和類型安全模式編寫 React 元件。在建立元件、管理狀態或最佳化渲染時使用。 來源:casper-studios/casper-marketplace。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/casper-studios/casper-marketplace --skill react-patterns 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/casper-studios/casper-marketplace