We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

Csaba Tamas • 9 years ago

Hy! Can You share the working full source code? It would be a great help for me, becasue I worked on Angular 2 POC and I can't how buld component hierarchy. I using only component-decorator tree like: yet: https://github.com/angular/...

Thanks!

Victor Savkin • 9 years ago

This would be one example: https://github.com/angular/.... More are coming.

Vivian Chan • 8 years ago

Nice article. Thanks for your effort. Just a side question, imagine you have "rank" (let say, the highest rating will have rank #1) in the Talk component. How would you design the app so that the component may or may not change the rank when the rating has changed?

Ravi Mone • 8 years ago

Hello Victor, I have a small request, since this post seems to be little old, july 15. But as you know angular2 is changing more frequently (currently it is alpha 35), So may be your post examples or concepts are not there any more in the current angular. Can you please change/update your blog articles according to the current angular2 concepts. This is my kind advice.

Victor Savkin • 8 years ago

I am going through my blog posts from time to time to make them work with the current angular. Could you point me to example that do not work for you, and I will fix them.

Brian Slesinsky • 9 years ago

"VM turn" is not defined anywhere and the transcript on the linked page doesn't mention it. Could you explain what you mean by it?

Victor Savkin • 9 years ago

VM Turn is an event loop iteration. It consists of a macrotask + 0 to many microtasks.

Jinto Jose • 9 years ago

Nice post. Just a small doubt. AngularJS 2.0 is following the concepts which ReactJS is already having?

Victor Savkin • 9 years ago

Thank you. Glad you liked the post.

The idea of being more explicit about the data flow, in my opinion, is a good one. But I would not think about it as a feature or a capability. Rather you design other capabilities in the way that allows that.

You are right in the sense that React developers do a great job paying attention to the data flow in their applications. I think this is important, and that is why Angular 2 is designed with the data flow management in mind. But the fact that Angular 2 makes data flow more explicit does not mean it is React now.

seba • 9 years ago

Then what is the advantage of angular over react, or what does it do different?

Victor Savkin • 9 years ago

This is a very generic question. It is similar to asking if Backbone, Ember, Angular 1 are different from each other, or which one is better. The answer is it depends on your experience, your application's architecture, etc.

Yevgen Bushuyev • 9 years ago

Hi,

Could you please have a look at http://stackoverflow.com/ta... and give some answers.

Thanks!

Sekib Omazic • 9 years ago

Could you say a few words about MessageBus? Is this a BindingPropagationConfig and EventEmiiter combined together or something totally different?

matjaz • 9 years ago
Victor Savkin • 9 years ago

MessageBus is here used for illustrative purposes, so it is not provided by Angular. It allows App to broadcast events, and it can be implemented using EventEmitter.