Vetted Demo
Question 1 of 3
Sign up for full assessment
mcq
intermediate
10 pts
What is the primary purpose of React's useCallback hook?
A
To cache the return value of a function
B
To memoize a function reference between renders
C
To create a callback that runs after render
D
To replace useEffect for event handlers
Demo mode — no tracking
Next
In the real assessment, questions adapt to your level and a confidence layer monitors integrity.