We also have a demo of Backbone integration, too:
https://github.com/facebook/react/tree/master/examples/todom...
Well, I think most would agree that AngularJS has better readability and is more concise but a disclaimer would be that I've been looking at Angular's syntax for quite some time and reactjs is a new framework...Instagram's website is nice by the way, simple, clean UI.
The "Load More" Button on the site is probably powered by reactjs? @peterhunt
> For our comment box example, we'll have the following component structure:
>- CommentBox
> - CommentList
> - Comment
> - CommentForm
Yet the AngularJS solution simplifies this down to one component.
If we presume React could simplify down to a single component too, then the AngularJS solution is would only be fair if it keeps the artificial constraint of having four component classes.
Though, comparing code snippets to a lengthy tutorial kind of misrepresents the verbosity of React. I think we forgot to put the completed tutorial on GitHub, so here it is for an easier comparison:
https://github.com/petehunt/react-tutorial/blob/master/scrip...
Outside of standard HTML boilerplate our entire application is pretty small I think.