3 ms·
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.
by saurabhnanda 12y ago
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.
- danabramov 12y agoWhy I prefer React over Angular: 1. Two-way bindings complicate things because there is no single source of truth. (See http://vimeo.com/92687646 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.