Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reconfortdev/rxjs-basics
Observable RXJS Basics
https://github.com/reconfortdev/rxjs-basics
Last synced: 12 days ago
JSON representation
Observable RXJS Basics
- Host: GitHub
- URL: https://github.com/reconfortdev/rxjs-basics
- Owner: ReconfortDev
- Created: 2024-09-03T10:58:39.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-10T08:45:48.000Z (4 months ago)
- Last Synced: 2024-11-07T12:32:09.070Z (2 months ago)
- Language: TypeScript
- Homepage: https://amaliseacrch.netlify.app/
- Size: 169 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RxJS Basics
This project demonstrates the basic usage of RxJS operators and includes examples of debounced search, data combination, error handling, and loading states in an Angular application.
## Labs 1
### 1. Using `of` Operator
- **Description**: Creates an observable that emits a sequence of values.
- **Implementation**: See `exampleOf()` in `app.component.ts`.### 2. Working with `from` Operator
- **Description**: Creates an observable from an array or iterable object.
- **Implementation**: See `exampleFrom()` in `app.component.ts`.### 3. Using `interval` Operator
- **Description**: Emits values at regular intervals.
- **Implementation**: See `exampleInterval()` in `app.component.ts`.### 4. Combining Observables with `concat`
- **Description**: Sequentially combines multiple observables.
- **Implementation**: See `exampleCombine()` in `app.component.ts`.### 5. Error Handling in Observables
- **Description**: Demonstrates error handling using the `catchError` operator.
- **Implementation**: See `exampleErrorHandling()` in `app.component.ts`.