3 ms·
React seems so complicated in comparison to Angular templates. Am I wrong?
by Kiro 12y ago
React seems so complicated in comparison to Angular templates. Am I wrong?
- nailer 12y agoTry ractive. You get simple mustache templates, but the speed of a virtual DOM like React.
- lowboy 12y agoI've done projects in both Angular and React and I find the latter to be much simpler to reason about. Scopes, transclusions and directives are often confusing. React is just nestable Polymer-like components of encapsulated markup and behaviour. A React component at its most basic is just an object that implements a render() method that is responsible for rendering markup. See the React home page for examples http://facebook.github.io/react/index.html http://facebook.github.io/react/index.html. Since React is just a view layer though, you're left to your own devices for everything else. So if you're evaluating it from the perspective of a whole SPA, then it becomes more complicated.