What is ref in React?
Ref is a plain JavaScript object with the current property that you can read and modify.
Ref is designed to step outside React since it won't trigger re-render, but situations like
setTimeout
Storing and manipulating DOM elements like scrollIntoView API
which are some value and need to be stored somewhere.