课程: Angular Essential Training
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
RxJS and Reactive programming in Angular
- [Instructor] Reactive programming is a software design pattern for working with data that may change over time. It's not specific to the Angular framework, but it is a core concept and every Angular developer should know how it works. I opened our project here in a GitHub code space. I talk about why we use code spaces earlier in this course. So for now, just think of them as an easy way to share and write code without installing anything on your local machine. I'll go to the source folder, open the app folder, services, and click on api.service.ts to open the file. This is the code for our custom API service. We looked at writing services in detail earlier in this course. So for this video, we'll focus on just the things that relate to reactive programming. Our custom service needs to make network requests to get all the player data from our database. We use Angular's built-in HTTP client service to make those requests.…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。