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