Kizspy | Question: 26
(Choose 1 answer)
How can you optimize performance when using Hooks in React?
A. By using the useMemo and useCallback Hooks.
B. By avoiding unnecessary re-renders with the memo Hook.
C. By using the useLayoutEffect Hook instead of useEffect.
D. By using the useDebugValue Hook for debugging purposes.