| How can you optimize performance for a function component that always renders the same way?
Choose the correct option from below list
(1)Use the shouldComponentUpdate lifecycle method.
(2)Use the useMemo Hook.
(3)Wrap it in the React.memo higher-order component.
(4)Use the useReducer Hook.
Answer:-(3)Wrap it in the React.memo higher-order component. | | |