Chapter 6 - Flutter Hooks - Flutter State Management Course 💙

Published: 26 February 2022
on channel: Vandad Nahavandipoor
14,549
391

Part of Flutter State Management Course playlist:    • Flutter State Management Course 💙  

Flutter Hooks package brings React Hooks into Flutter. If you're not familiar with React Hooks, I suggest that you read this post:   / making-sense-of-react-hooks  

The general idea of hooks in both Flutter Hooks and React Hooks is reusability of code. Imagine creating a StreamController or a TextEditingController in Flutter. You'd have to be very careful to make sure the controller is disposed of when your StatefulWidget is disposed. You don't have to worry about those resource managements with Flutter Hooks. Hooks use a new type of widget called HookWidget that brings with it a high scale of reusability when using hooks.

🐦 Twitter:   / vandadnp  
🔵 LinkedIn:   / vandadnp  
🤝 Want to support my work? https://buymeacoffee.com/vandad


Watch video Chapter 6 - Flutter Hooks - Flutter State Management Course 💙 online without registration, duration hours minute second in high quality. This video was added by user Vandad Nahavandipoor 26 February 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 14,549 once and liked it 391 people.