frontend react - yibinericxia/documents GitHub Wiki
useState() is very helpful for us to create state variables and update them
useEffect() is commonly used when we want to make an HTTP request
useLayoutEffect() is called before useEffect()
useRef() can help when we want to interact with an element, such as to clear the value of input or focus it
Similar to useState(), useReducer() is helpful for managing state across multiple components that may involve different actions