by wouldbecouldbe · 2y ago · 0 comments
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.