useCueState
React hook. Returns a Record of active thresholds keyed by name.
import { useCueState } from 'motion-cues/react';
const flags = useCueState(motionValue, CUE);// { first: boolean, second: boolean, ... }Backed by useSyncExternalStore. No useEffect. Re-renders only on threshold flips.