Try this exercise. Click the correct answer from the options.
What is the purpose of the useMemo hook?
Click the option that best answers the question.
- To memoize a value and avoid re-computing it
- To perform side effects in functional components
- To manage complex state and actions
- To interact with DOM elements