Question: If a function component should always render the same way given the same props, what is a simple performance optimization available for it?
- Wrap it in the `React.memo` higher-order component.
- Implement the `useReducer` Hook.
- Implement the `useMemo` Hook.
- Implement the `shouldComponentUpdate` lifecycle method.
Answer: The correct answer of the above question is Option A:Wrap it in the `React.memo` higher-order component.