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