Войти
  • 16167Просмотров
  • 3 месяца назадОпубликованоCosden Solutions

The Wrong Way to Optimize Performance in React

To learn for free on Brilliant, go to , scan the QR code onscreen, or click on the link in the description. Brilliant’s also given our viewers 20% off an annual Premium subscription, which gives you unlimited daily access to everything on Brilliant. 📥 SECRET PROJECT (Newsletter) → 📈 Advanced Patterns React → 🚀 Project React → TkDodo's Article → Join The Discord! → VSCode Theme | Font → Material Theme Darker | Menlo, Monaco "monospace" In this video, I'm going to show you how memoization in React with hooks like useMemo and useCallback is mostly useless and not worth the effort. In most real world applications, using these hooks produces absolutely no benefit whatsoever. Instead of obsessing over memoizing everything perfectly, you should opt to have a better component architecture overall, which would have a much bigger impact. Let's see why.