Samia Ashraf
Aug 20, 2022

--

thank you and also thank you for raising that point!

The hook useEffect is a replacement for initState, didUpdateWidget and dispose simultaneously.

The hook is always going to remain the same, it is the value which changes and will be notified, that's the purpose of hook.value

--

--

Samia Ashraf
Samia Ashraf

Written by Samia Ashraf

Flutter enthusiast | Google Developer Expert - Flutter & Dart | Co-organizer @uae_flutter | Ambassador @WomenTechmakers

No responses yet