📄️ React - useState
useState is a React Hook that lets you add a state variable to your component.
📄️ useEffect: My Mental Model
useEffect runs code after a render, in response to something changing (or once on mount).
📄️ React - useContext
useContext is a React Hook that lets you read and subscribe to context from your component.
📄️ React - useRef
useRef is a React Hook that lets you reference a value that’s not needed for rendering.
📄️ React - useImperativeHandle
useImperativeHandle is a React Hook that lets you customize the handle exposed as a ref.
📄️ React - useCallback
useCallback is a React Hook that lets you cache a function definition between re-renders.
📄️ React - useReducer
useReducer is a React Hook that lets you add a reducer to your component.