react-syntax-hooks-basic

Installation
SKILL.md

react-syntax-hooks-basic

Quick Reference

The 7 Essential Hooks

Hook Purpose Returns
useState<S> Local component state [state, setState]
useEffect Side effects after render void
useContext<T> Consume context value T
useRef<T> Mutable ref / DOM access { current: T }
useMemo<T> Memoize expensive values T
useCallback<T> Memoize function references T
useReducer<S, A> Complex state with actions [state, dispatch]

Import

Related skills
Installs
6
GitHub Stars
1
First Seen
Apr 1, 2026