React Hooks Part 2
useContext and useRef
What is useRef?
A data store, just like useState
Does not cause rerenders, unlike useState
Easily exposes dom elements
Has a single property "current"
What is useContext?
Exposes data at a high level to be used at a lower level
Used by custom hooks to simplify knowledge
Hooks 1 on Youtube
Official useContext docs
Official useRef docs
Bitovi React Consulting