useLayoutEffect, forwardRef, useImperativeHandle, useTransition, useDeferredValue, and useId
These hooks and helpers solve timing, refs, deferred rendering, and stable identity concerns that basic hooks do not cover.
- useLayoutEffect runs earlier than useEffect
- forwardRef exposes refs across component boundaries
- Transition hooks help prioritize urgent updates
useLayoutEffect, forwardRef, useImperativeHandle, useTransition, useDeferredValue, and useId