Being Doing Angular Development for quite a time but I think that using the RXJS for a Simple task is not a good idea. The RXJS is not built or should be used for small things and tasks.
The Area where React outsmarts the Angular is the Template-Based Rendering, as it takes very little time to reload the application, and Angular uses the Template base Rendering.
Thanks for the response! I don't disagree with you at all. I should have probably prefaced this in the post, but the example above was just for educational purposes.
It is perfectly capable of handling this and if you're using OnPush detection strategy I think you'll find RXJS manages this just fine.
React is faster at template rendering because of the virtual DOM it is uses as opposed to Angular's use of the actual DOM, but React also only has one-way binding so I'm not entirely sure how that would compare in a situation like this because this post is referring to the two-way binding of the change detection system in Angular.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Being Doing Angular Development for quite a time but I think that using the RXJS for a Simple task is not a good idea. The RXJS is not built or should be used for small things and tasks.
The Area where React outsmarts the Angular is the Template-Based Rendering, as it takes very little time to reload the application, and Angular uses the Template base Rendering.
Thanks for the response! I don't disagree with you at all. I should have probably prefaced this in the post, but the example above was just for educational purposes.
It is perfectly capable of handling this and if you're using
OnPush
detection strategy I think you'll find RXJS manages this just fine.React is faster at template rendering because of the virtual DOM it is uses as opposed to Angular's use of the actual DOM, but React also only has one-way binding so I'm not entirely sure how that would compare in a situation like this because this post is referring to the two-way binding of the change detection system in Angular.