@tlakomy one way to think about it is that useEffect is a way to synchronize React with some external system (network, subscription, DOM). if you don’t have any external system and just try to manage your data flow with useEffect, you’re gonna have all these problems.
A passionate frontend Engineer proficient in frontend technologies. Actively involved in providing complex information to readers in a way that they can understand and apply.
Please have a look over the updated documentation:
Thank you!