У нас вы можете посмотреть бесплатно I realized Lifting State Up doesn't make sense (in some cases) или скачать в максимальном доступном качестве, которое было загружено на ютуб. Для скачивания выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса savevideohd.ru
In React.js it's a common practice to "Lift State Up". But there are cases when it can hurt your app. ⚛️ This Week in React: https://thisweekinreact.com/ ⏱️ Timestamps: 00:00 - Disclaimer 00:13 - The Flaws 00:24 - Rethinking Best Practices 00:36 - The Example 01:10 - Re-render's Hell 01:57 - The Key Observation 02:18 - The Pattern 03:24 - The Benefits 04:42 - The Counter-Argument 05:59 - React Docs Misconception 06:47 - GitHub discussion 07:42 - When Lifting State Up is OK 08:01 - When it's NOT 08:16 - The Semi-Controlled Components 📖 Acknowledgments & Further Reading: Rethinking Best Practices (JSConf.Asia 2013): • Pete Hunt: React - Rethinking Best Pr... GitHub discussion: https://github.com/facebook/react/iss... Dan's post: https://overreacted.io/before-you-memo/ React Docs: https://react.dev/reference/react/use... How useImperativeHandle works: https://jser.dev/react/2021/12/25/how...