What are the 2 rules to remember about references?
How many arguments does useRef( ) accept?
one argument, the references initial value.
What special property does a reference have ?
The “current” property.
reference.current accesses the reference value, and reference.current = newValue updates the reference value.
What are the 2 main differences between references and state?
Are reference updates asynchronous?
No they are synchronous, their new value can be accessed straight away.