← Back to React
Performance and Patterns
Split the bundle, memoize only what is slow, and the compound component that is an API rather than a nest of props.
Optimizing Re-renders with React.memo and Custom Comparisons
advancedblankLearn how to prevent unnecessary re-renders using React.memo, including writing a custom comparison function to control exactly when a component updates.
Optimizing Re-renders with React.memo
intermediateblankLearn how to prevent unnecessary re-renders using React.memo to optimize component performance in a simple counter application.