All challenges
Multiple ChoiceIntermediate 30s

useCallback

Choose the best answer for: usecallback purpose
Options
  1. 1Memoizes function reference
  2. 2Runs an effect on every commit
  3. 3Creates a new piece of state
  4. 4Replaces the useMemo memo hook

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle