Comment on Virtual DOM in ElmparentComments−saurabhnanda12yWhy do you say AngularJS was hard to debug? Also any insights around modularity - AngularJS directives vs ReactJS components?I hear you about the API surface. Currentlu AngularJS has too many weird/new concepts.−danabramov12yWhy I prefer React over Angular:1. Two-way bindings complicate things because there is no single source of truth. (See http://vimeo.com/92687646 at 30:00)2. Template/directive separation is superficial, in fact these are single concern and should be together.3. Separation between `props` and `state`, as well as documenting `props` via `propTypes` encourages very natural modularity.
Comments
Why do you say AngularJS was hard to debug? Also any insights around modularity - AngularJS directives vs ReactJS components?
I hear you about the API surface. Currentlu AngularJS has too many weird/new concepts.
Why I prefer React over Angular:
1. Two-way bindings complicate things because there is no single source of truth. (See http://vimeo.com/92687646 at 30:00)
2. Template/directive separation is superficial, in fact these are single concern and should be together.
3. Separation between `props` and `state`, as well as documenting `props` via `propTypes` encourages very natural modularity.