Performance Optimization

Under the hood, React intelligently minimizes the number of costly DOM operations required to update the UI. Using React will generally lead to a fast user interface. Nevertheless, there are several ways you can speed up your React application — from the manual techniques covered in this section (production builds, bundling, memoization, windowing) to React 18's built-in concurrent features like automatic batching, useTransition, and useDeferredValue.