playing with rxjs

7
REACTIVE EXTENSIONS Playing with Reactive Extensions Observables in JavaScript

Upload: rogerio-chaves

Post on 26-Jan-2017

224 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Playing with RxJS

REACTIVE EXTENSIONSPlaying with Reactive Extensions Observables in JavaScript

Page 2: Playing with RxJS

WHAT IS REACTIVE?

2

Iterator Observer

Page 3: Playing with RxJS

WHERE CAN I USE IT?

3

C++

Page 4: Playing with RxJS

REACTIVE OBSERVABLES

4

You know when you handle arrays?

You can now do it with arrays through time!

[ 1 . . . . . . . 2 . . . 3 ]

Page 5: Playing with RxJS

REACTIVE OBSERVABLES

5

Some Observables Methods

•map

• filter

•merge

•debounce

•distinctUntilChanged

A visual approach

rxmarbles.com

Page 6: Playing with RxJS

EXAMPLES

6

•Simple Observable

•Pac-Man

•Autocomplete

Page 7: Playing with RxJS

THANK YOU