·react-use-callback
</>

react-use-callback

flpbalada/my-opencode-config

Guides proper usage of the useCallback hook in React. Use this skill when optimizing function references, passing callbacks to memoized components, or preventing unnecessary re-renders.

2Installs·0Trend·@flpbalada

Installation

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

SKILL.md

useCallback caches a function definition between re-renders until its dependencies change.

Only use useCallback for specific performance optimizations - not by default.

When passing a function to a component wrapped in memo():

Guides proper usage of the useCallback hook in React. Use this skill when optimizing function references, passing callbacks to memoized components, or preventing unnecessary re-renders. Source: flpbalada/my-opencode-config.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/flpbalada/my-opencode-config --skill react-use-callback
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is react-use-callback?

Guides proper usage of the useCallback hook in React. Use this skill when optimizing function references, passing callbacks to memoized components, or preventing unnecessary re-renders. Source: flpbalada/my-opencode-config.

How do I install react-use-callback?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/flpbalada/my-opencode-config --skill react-use-callback Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

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