by Mizza · 8y ago · 0 comments
React is like one step forwards, 10 steps backwards. Mixing markup and logic, adding a whole front-end compiler, needing imports from third parties to re-implement basic browser functionality - for what? So that users have to see a loading spinner and their back button doesn't work any more?
I'm 90% sure it's an accidental conspiracy to keep front end developer salaries high.
Talking to older heads, apparently they felt the same way when XML and "middleware" came along..
There's no need to mix markup and logic, a good pattern is to have dumb components that just translate state into markup, and keep your logic elsewhere.
Modern javascript (and typescript) is a joy to program in and has greatly improved my productivity. Having to compile it with babel is a small price to pay.