Mô tả

Have you joined a project which uses the Observables and RxJS and have no idea how to use it?
Are you already using RxJS and Observables and its behavior keeps surprising you?
Do you want to learn a new tool to conveniently handle asynchronous code?

If you responded YES to any of the above questions, then this might be a great course for you! RxJS is known to have a steep learning curve. There are many courses, articles, docs on the Internet which are great and cover a lot of complex RxJS scenarios, however I've noticed that it is difficult to start going and make first steps. Also, many experienced RxJS users still make some basic mistakes from time to time as they don't understand the mechanics of the Observables well.

This course will help you enter the world of RxJS in a slow step-by-step way. It might even help more advanced RxJS users fill the missing gaps in their understanding of the Observables and RxJS.

The objective of this course is to give you a great set of tools to start your RxJS journey!

You will learn here the core concepts of RxJS, such as:

  • Observables

  • Subscriptions

  • Observers

  • Creation Functions

  • Pipeable Operators

  • Subjects

The first sections of this course will present the basics of the Observables and RxJS in a slow and detailed way. We'll have a look at the idea of streams and reactive programming to understand how the data comes to us when using the Observables. I'll show you what kind of sources can we find in the world of Observables. You'll learn how can we execute an Observable by making Subscriptions, and how can we react to the notifications emitted by providing Observers. We'll use Marble Diagrams to present things in an easy to understand graphical way. There will also be a plenty of coding sections explaining each feature.

After we get the theory behind the Observables clarified, we'll move towards more practical uses of RxJS.
We'll use Creation Functions to easily create Observable from various sources like: arrays, DOM events, HTTP requests, timers, intervals and combining multiple Observables together. We'll use the Pipeable Operators to create more complex Observables.

Finally, we'll learn about the Subjects, which are a special type of Observable which allow us to conveniently emit a value to all Observers.

After you finish this course, you'll be able to start using the Observables and other RxJS tools in your apps and understand the articles, videos and docs on the Internet, so you can continue your RxJS journey.

Let's get started!



This course uses OpenMoji emojis and icons in some of the videos (CC BY-SA 4.0 license)
Promo music: Royalty Free Music from Bensound

Bạn sẽ học được gì

By completing this course you will understand how Observables work, behave and how to use them.

You will learn the basics (and much, much more) of RxJS in a slow step-by-step manner.

You will have a good understanding of the Observables and other key RxJS topics, such as: Subscriptions, Observers, Operators, Subjects

After you finish this course, you will be able to understand other, more advanced articles, videos and docs available on the Internet.

You will have a great set of tools to start your RxJS journey.

Yêu cầu

  • No RxJS knowledge needed!
  • No TypeScript knowledge needed
  • JavaScript is required
  • Functional programming experience is nice to have - understanding of JavaScript's array operators (.map, .filter, etc.) is helpful

Nội dung khoá học

8 sections

Getting Started

6 lectures
Course Introduction
02:05
RxJS Overview
02:14
Quick Start
10:34
Optional: Using your own IDE
00:47
Course Plan
02:22
Learning Tips
04:19

Observable - how does it work?

15 lectures
Module Introduction
01:22
Array vs Stream
05:56
Observable, Subscription, Observer - Key Elements
04:03
Warm-up Observable - Observable, Observer, Subscription
10:56
Warm-up Observable - Multiple Subscriptions
05:25
Observable Basics
4 questions
Marbles Introduction
00:26
Marbles - Next, Error, Complete
03:17
Marbles - Notification Types Summary
00:54
Marbles - Incorrect Scenarios
01:16
Marbles - Appearance
01:15
Marbles - Game
02:27
Marbles - Docs
00:56
Marble Diagrams and Notification Types
5 questions
Module Summary
01:05

Exercises: Observable, Observer and Subscription

12 lectures
Module Introduction
01:01
Subscription Lifecycle
03:25
Execution Timing - Empty Observable
02:28
Synchronous Emission - Next Notification
02:24
Asynchronous Emission - More Next Notifications
02:40
Teardown - Complete Notification
04:05
Error Notification
02:27
Full Observer
00:25
Order
02:21
Cancellation - Unsubscribe
06:39
Module Summary
00:42
Subscription Lifecycle
3 questions

Types of Observable

6 lectures
Module Introduction
01:09
Cold Observable
07:58
Hot Observable
09:01
Hot vs Cold - Comparison
03:53
Module Summary
00:26
Hot vs Cold
4 questions

Creation Functions

14 lectures
Module Introduction
02:30
of - How Creation Functions work
07:19
from
06:11
Creation Functions - of, from
5 questions
fromEvent
13:51
timer
07:15
interval
03:25
Creation Functions - fromEvent, timer, interval
3 questions
Note about ajax() creation function
00:27
forkJoin - Handle multiple HTTP calls
14:31
forkJoin - Error Scenario
07:36
combineLatest - Reacting to multiple input changes
13:58
Creation Functions - forkJoin, combineLatest
4 questions
Module Summary
01:59

Pipeable Operators

21 lectures
Module Introduction
04:31
Operator Stacking
04:08
Importing Operators
00:18
filter
11:54
map
06:56
tap
09:21
Learn More: tap
00:08
debounceTime
07:17
catchError
10:44
Pipeable Operators
5 questions
Flattening Operators
02:43
Flattening Operators - Static Example
09:03
Flattening Operators - Dynamic HTTP Request
08:25
Flattening Operators - Error Handling - First Solution
07:08
Flattening Operators - Error Handling - Second Solution
08:31
Flattening Operators - Concurrency - concatMap
07:13
Flattening Operators - switchMap
03:25
Flattening Operators - mergeMap
03:58
Flattening Operators - Side by Side Comparison
05:57
Pipeable Operators - Flattening Operators
7 questions
Module Summary
01:22

Subjects

8 lectures
Module Introduction
01:16
Multicasting
02:33
Subject vs Observable vs Observer
01:23
Subject in Action
06:37
BehaviorSubject - Concept
02:08
BehaviorSubject in Action
11:29
Module Summary
01:06
Subjects
4 questions

Course Summary

2 lectures
Course Summary
01:54
Congratulations & Further Steps
00:33

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.