DevPath · Learn to code ESPTEN

Frontend with React

⚡ Custom hooks and performance

Extract reusable logic into custom hooks and learn to reason about performance: React.memo, useMemo, useCallback and, above all, when to optimize (and when not to).

What you'll learn

Lessons

Custom hooks: reusable stateful logicExtract logic into useXxx functions. Performance: why React re-rendersReact.memo, useMemo and useCallback. When (and when not) to optimizeMeasure first; don't optimize blindly.
Practice this module in the app

DevPath is a hands-on course: you read the theory here; in the app you put it into practice with exercises that really run, offline.

Start free in the app →