Skip to content

ecmadao/rxjs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rxjs-example

通过构建一个简单的 github 应用,学习 RxJS 的快速入门教程。线上 DEMO 可戳 https://ecmadao.github.io/rxjs-example

开始前的准备

本地跑起来

$ git clone https://github.com/ecmadao/rxjs-example.git
$ cd rxjs-example
$ npm i
$ npm run dev-server

然后打开http://localhost:8080/webpack-dev-server即可

展示

  • 通过RxJS,在输入过程中实时进行异步搜索:

search repos

  • hover到 avator 上之后异步获取用户信息

fetch user info

教程目录

猛戳这里看教程:探索 RxJS - 做一个 github 小应用