Prevent unnecessary re-renders by memoizing callbacks
const handleClick = useCallback(() => { doSomething(id); }, [id]);
Render a component only if a condition is true
Pass a ref from parent to child component
Dynamically import a component to reduce bundle size
Clean up subscriptions and timers on unmount