react-use-callback

Installation
SKILL.md

React useCallback

Goal

Use useCallback only for needed function identity stability. Do not add it by default.

Rules

  • Use with memo() children when callback identity matters.
  • Wrap functions returned from custom hooks.
  • Prefer moving effect-only functions inside the effect.
  • Use updater functions to remove state dependencies.
  • Keep dependency arrays complete.
  • Do not use inside loops.
  • Do not use when the child is not memoized.
  • Do not use for simple interactions without evidence.

Good Uses

Installs
14
GitHub Stars
7
First Seen
May 4, 2026
react-use-callback — flpbalada/fb-skills