Skip to content

Comment on Virtual DOM in Elmparent

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.