Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What, no React/Flux? How can this be a serious comparison without React?


React + what? Is there a standard router/controller and model that get's used with React?

I think they just could have added the line "As an alternative to using underscore templates in Backbone, you can use React instead."


There's no standards, but at this point I'd say Flux + React-router are quickly becoming it. react-router is made in the spirit of Ember's which is pretty well liked.

- Flux Architecture Pattern [0]

- React Router [1]

Note that there isn't really a prescribed model in Angular aside from $scope either.

[0] - http://facebook.github.io/flux/

[1] - https://github.com/rackt/react-router


I like react-router that looks quite nice. Flux looks like a description of an idea rather a JavaScript library. Is there a flux store that persists to a REST backend?

A model really isn't part of Angular core since it was split out but something like angular-resource is what I am talking about.


I'd recommend looking at the docs on Flux, it explains it all better than I could.


Well, react/flux completely replaces backbone except for the router. The models go away completely, as do the views.


There are a couple React-only routers but a lot of React.js people (including myself) use Backbone for the router/controller.


I'm actually using 'director' which works great, much simpler.


Yes, agreed ? I prefer it over Angular/Ember/Backbone


Far superior, far simpler, but it's not exactly a framework :/


Which is exactly why you should choose it.


How could I do something like http://ichord.github.com/At.js in React?


React would handle the DOM; you would have to have some data model that handles the autocomplete list/cursor position and then feeds the results back into the react component.


Exactly :)


Flux might still be in the early adopter phase. Version 0.11 might be nice for side projects, but I'd feel uncomfortable trying to deploy a commercial app using a project that has been available to the public for less than 6 months.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: