← React Intermediate Questions - Set 1 Q6

How can you optimize performance in React?

React Intermediate Questions - Set 1

Example

const value = useMemo(expensive, [deps]);
const cb = useCallback(handler, [deps]);
const Row = memo(RowBase);

What to notice

← Back to the question list