ReactQuestion 02 of 28
What are all the hooks that you have used?
Answer out loud or in your head first, then compare.
Answer
Most often:
useState
useEffect
useContext
useRef
useReducer
useMemo
useCallbackYou could answer:
I mostly useuseStatefor local state,useEffectto sync with external systems,useReffor values whose change shouldn't trigger a render, anduseContextfor shared configuration or data. I useuseMemoanduseCallbackmainly as optimisations.
How did it go? Be honest — “Not yet” puts the question on your review list.