JSFoo 2016

Tackling speed and performance for JavaScript

venkatesh viswanathan

@usrlotus

Observables and Angular2

Submitted Aug 14, 2016

Observables are important part of reactive programming. Angular2 works in coherence with rxJS, Java Script library for reactive Extensions. Observables are very powerful, but there’s a lack of awareness about how to leverage it.

This talk about common scenarios where observables can be used in angular2, limitations and when to choose not to use observables.

Take aways from this talk will be

  • an understanding of http service and async pipe.
  • creating observables for different use cases.
  • Walk through the code of an example web component

It is for anyone who is interested in using Observables in their Angular2/JS application.

Outline

I will talk about basics of Observables and advantages of observables over promise.

I will also cover

  1. HTTP service and async pipes.
  2. Create observables from events
  3. Use case of observables.

I will walk you through the code of a type ahead component to explain the solution.

Speaker bio

Venkateshwar V.

I am Lead Fronend Developer from CloudCherry. I come with over four years of experience with JavaScript. We have been working with Angular2 for over 6 months.
Creating web components in angular2 interests me a lot.

Slides

https://docs.google.com/presentation/d/1-7NDp7AWCUtYP94XgScX3QEY1sQq3qQClOLKkfZ2Sh8/edit?usp=sharing

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more