> With React, I don't really see the point of Ember or Angular
React only deals with the view. In AngularJS, third party objects have a seamless integration with the view.
Imagine you want to paginate datas.
You'd write a Paginator component in React.
In Angular you'd have a Paginator service holding pagination logic. Then you can have multiple representations of paginators,that would be logic less. It's better because it makes it easier to test the pagination logic in isolation,and you can then hide some complexity out of the view.
i did it with a simple notification queue in a project i'm working on :
So each time a new notification pops , the view is updated just by adding {{Notification.current}} somewhere in my template
I think React solve parts of the problem while Angular tries to solve the whole problem.
I think there is definetly a middle ground between AngularJS and React virtual DOM that can be found. Let's remember that Misko defines AngularJS as "a better browser",not a framework.
React only deals with the view. In AngularJS, third party objects have a seamless integration with the view.
Imagine you want to paginate datas.
You'd write a Paginator component in React.
In Angular you'd have a Paginator service holding pagination logic. Then you can have multiple representations of paginators,that would be logic less. It's better because it makes it easier to test the pagination logic in isolation,and you can then hide some complexity out of the view.
i did it with a simple notification queue in a project i'm working on :
So each time a new notification pops , the view is updated just by adding {{Notification.current}} somewhere in my templateI think React solve parts of the problem while Angular tries to solve the whole problem.
I think there is definetly a middle ground between AngularJS and React virtual DOM that can be found. Let's remember that Misko defines AngularJS as "a better browser",not a framework.