Question d’entretien chez J.P. Morgan

They asked the difference between a useState hook and a useRef hook.