Hacker News new | ask | show | jobs
by saurabhnanda 4352 days 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.

1 comments

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.