useRef

How can a component remember the previous value of a prop without causing another render?
Next Question (11/20)

Question 11 of 20 in useRef