← React Intermediate Questions - Set 10 Q100
How can you optimize performance in a React application?
React Intermediate Questions - Set 10
Example
1
2
3
const Page = lazy(() => import('./Page'));
const Row = memo(RowBase);
const total = useMemo(sum, [items]);
What to notice
- Fix the biggest number first: bundle size, then renders, then computations.
← Back to the question list