by Oddskar · 5y ago · 0 comments
This is no doubt the biggest problem of React that no one talks about; “where do I put my business logic?”
The most common solution to this is to sprinkle it all over some sort of pseudo-controller components. Even worse when it’s all hook-spaghetti.
At least Angular recognises that not everything is components.
But if you use an current opinionated package. Next.js + pure hooks based+ typescript, beats everything on the market by miles. It's not even close.