(Choose 1 answer)
If a function component should always render the same way given the same props, what is a performance optimization available for it?
A. Wrap it in the React.memo higher-order component.
B. Implement the useReducer Hook.
C. Implement the shouldComponentUpdate lifecycle method.
D. Implement the useMemo Hook.
E23