Time to go on a tangent, does anyone think useEffect was good idea? In general I've found "side-effects" libraries like rxjs & saga's being the main cause of bugs in react codebases, and useEffect a good second.
I think class based components led to really strange patterns that people thought should all be replaced with useEffect in function components.
UseEffect is sometimes necessary and then it's fine but it's a code smell too.