Che cos'è react-hook?
Da utilizzare quando si passano callback a hook personalizzati, si correggono avvisi react-hooks/exhaustive-deps o si esegue il debug di nuovi rendering imprevisti nei componenti React. Fonte: bumgeunsong/daily-writing-friends.
Da utilizzare quando si passano callback a hook personalizzati, si correggono avvisi react-hooks/exhaustive-deps o si esegue il debug di nuovi rendering imprevisti nei componenti React.
Installa rapidamente la skill AI react-hook nel tuo ambiente di sviluppo tramite riga di comando
Fonte: bumgeunsong/daily-writing-friends.
| 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.
Da utilizzare quando si passano callback a hook personalizzati, si correggono avvisi react-hooks/exhaustive-deps o si esegue il debug di nuovi rendering imprevisti nei componenti React. Fonte: bumgeunsong/daily-writing-friends.
Campi e comandi stabili per citazioni AI/ricerca.
npx skills add https://github.com/bumgeunsong/daily-writing-friends --skill react-hookDa utilizzare quando si passano callback a hook personalizzati, si correggono avvisi react-hooks/exhaustive-deps o si esegue il debug di nuovi rendering imprevisti nei componenti React. Fonte: bumgeunsong/daily-writing-friends.
Apri il tuo terminale o strumento da riga di comando (Terminal, iTerm, Windows Terminal, ecc.) Copia ed esegui questo comando: npx skills add https://github.com/bumgeunsong/daily-writing-friends --skill react-hook Dopo l'installazione, la skill verrà configurata automaticamente nel tuo ambiente AI di coding e sarà pronta all'uso in Claude Code, Cursor o OpenClaw
https://github.com/bumgeunsong/daily-writing-friends