Visão Geral
Este curso mostra, de forma simples e objetiva, como identificar gargalos de performance em aplicações React e aplicar técnicas modernas para deixá-las mais rápidas, leves e eficientes. Você aprenderá a otimizar renderizações, usar memoization corretamente, estruturar componentes com inteligência e medir performance como um profissional.
Conteúdo Programatico
Module 1 – Understanding React Rendering
- How React rendering works
- Reconciliation overview
- Identifying unnecessary renders
- Common performance pitfalls
Module 2 – Memoization Essentials
- When to use React.memo
- useCallback and useMemo explained
- Dependency arrays best practices
- Preventing stale references
Module 3 – Optimizing Component Structure
- Splitting components strategically
- Avoiding prop drilling
- State colocations
- Using Context with performance in mind
Module 4 – List and UI Optimization
- Virtualization with react-window
- Key usage best practices
- Efficient list rendering patterns
- Rendering large datasets
Module 5 – Heavy Computation Optimization
- Lazy initialization
- Debouncing and throttling
- Offloading work with Web Workers
- Handling expensive operations in hooks
Module 6 – Profiling and Measuring Performance
- Using React DevTools Profiler
- Flame charts analysis
- FPS and UI responsiveness
- Analyzing bottlenecks in real examples
Module 7 – Advanced Performance Techniques
- Suspense & concurrent features
- Code splitting
- Lazy loading components
- Prefetching and caching strategies
Module 8 – Final Project
- Complete optimization of a slow React app
- Fixing renders, refatoring components
- Applying memoization strategy
- Measuring “before and after” performance gain