Loading lesson path
React
Use hooks to model state, effects, refs, reducers, and shared app behavior.
Hooks allow functions to have access to state and other React features without using classes.
The React useState Hook allows us to track state in a function component.
The useEffect Hook allows you to perform side effects in your components.
React Context is a way to manage state globally.
The useRef Hook allows you to persist values between renders.
The useReducer Hook is similar to the useState Hook.
The useCallback Hook is used to memoize a callback function.
The React useMemo Hook returns a memoized value.
You can make your own Hooks!