3 ms·
Angular - Hello World is super easy but as you go deeper in Angular you become overhelmed by its complexity (mostly accidental) and limited by it. You will cons
by hex13 11y ago
Angular - Hello World is super easy but as you go deeper in Angular you become overhelmed by its complexity (mostly accidental) and limited by it. You will constantly think "how do I do this in Angular way" and after searching Stack Overflow you often end up doing some creative hacks to overcome Angular limitations. And debugging in Angular is hard, even error messages are super cryptic.
React - Hello World is also super easy but it's good to know about ES6, Gulp/Grunt and Babel (it's not necessary though. You will have just more syntax sugar). As you go deeper in React you’ll have to get familiar with recommended architecture and principles for React (flux architecture, unidirectional data flow, immutability etc.) and because React is only view/rendering part, you probably will be wiring React with something else (e.g. Redux or other library for keeping state and dispatch actions).
In other words: using Angular you'll have to deal with complexity of framework API but app architecture will be determined and forced by Angular. So probably you don't have to be good at programming to do Angular.
Using React you’ll have to understand its architecture and functional(immutable/without side effects) programming, but API itself is super simple. And there are super helpful error messages if you mess up something.
- antoaravinth 11y agoThats an very good comparison. Thanks for it!