I really, really enjoyed the Angular Connect talk about data flow in
Angular 2. I wasn't able to be there in person, but I watched the video
several times. But I was slightly frustrated that the code shown did not
appear to actually work.

With a bit of digging, I found that as of that time, Angular 2 had not yet
been adjusted to have the async pipe work with RxNext Observables. Then I
saw that there were commits in master to do so a few days ago, just not
published as another alpha yet. I used that interim version (it is pretty
easy to build Angular 2 from source), and made something very close to the
incremental de-bounced search that was shown in that talk, actually run.
Demo and explanation in the video below:

https://www.youtube.com/watch?v=JPuqluYYa-o

The Internet being what it is, I felt that searching for stock symbols was
too boring, so my example is more suitable for searching for cat pictures
on Reddit.

Hopefully this is enjoyable to watch, and I'm really looking forward to
rolling out this technology in real projects. Please email me if you want
to actually play with this code - I could push it to a plunkr or something.


-- 
Kyle Cordes
http://kylecordes.com

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to