This Lab will consist of two parts:
Talk 7pm - 7:30pm: Overview and discussion on RxJS with examples
Real Project Demo 7:30pm - 8pm: Examples on Realtime data using Firebase with Angular and RxJS
Objective:
During this live stream event we will help people understand RxJS and the benefits
What to expect:
Insights into the benefits of RxJS and reactive programming
Insights into Firebase with Angular and realtime data
RxJS is a library for composing asynchronous and event-based programs by using observable sequences. It provides one core type, the Observable, satellite types (Observer, Schedulers, Subjects) and operators inspired by Array#extras (map, filter, reduce, every, etc) to allow handling asynchronous events as collections.
"Think of RxJS as Lodash for events"
ReactiveX combines the Observer pattern with the Iterator pattern and functional programming with collections to fill the need for an ideal way of managing sequences of events.
The essential concepts in RxJS which solve async event management are:
Observable: represents the idea of an invokable collection of future values or events.
Observer: is a collection of callbacks that knows how to listen to values delivered by the Observable.
Subscription: represents the execution of an Observable, is primarily useful for cancelling the execution.
Operators: are pure functions that enable a functional programming style of dealing with collections with operations like map, filter, concat, reduce, etc.
Subject: is the equivalent to an EventEmitter, and the only way of multicasting a value or event to multiple Observers.
Schedulers: are centralized dispatchers to control concurrency, allowing us to coordinate when computation happens on e.g. setTimeout or requestAnimationFrame or others.
http://rxjs-dev.firebaseapp.com
DON’T FORGET
Subscribe on the YouTube channel - / codemortals - and join in on our livestreams / code kombat series
Join our Slack channel to start the conversation before the event and continue it afterwards https://join.slack.com/t/codemortals/...