{"id":13716483,"url":"https://github.com/ecmadao/rxjs-example","last_synced_at":"2025-03-22T02:30:45.789Z","repository":{"id":112025584,"uuid":"74190001","full_name":"ecmadao/rxjs-example","owner":"ecmadao","description":"A quick start for RxJS usage","archived":false,"fork":false,"pushed_at":"2022-07-12T04:03:51.000Z","size":772,"stargazers_count":72,"open_issues_count":1,"forks_count":23,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T06:51:29.741Z","etag":null,"topics":["learn-rxjs","reactivex","rxjs","rxjs-examples"],"latest_commit_sha":null,"homepage":"https://ecmadao.github.io/rxjs-example","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ecmadao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-11-19T05:52:00.000Z","updated_at":"2023-10-20T17:07:27.000Z","dependencies_parsed_at":"2023-07-11T02:30:15.738Z","dependency_job_id":null,"html_url":"https://github.com/ecmadao/rxjs-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecmadao%2Frxjs-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecmadao%2Frxjs-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecmadao%2Frxjs-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecmadao%2Frxjs-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecmadao","download_url":"https://codeload.github.com/ecmadao/rxjs-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244897692,"owners_count":20528277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["learn-rxjs","reactivex","rxjs","rxjs-examples"],"created_at":"2024-08-03T00:01:10.934Z","updated_at":"2025-03-22T02:30:45.453Z","avatar_url":"https://github.com/ecmadao.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# rxjs-example\n\n通过构建一个简单的 github 应用，学习 RxJS 的快速入门教程。线上 DEMO 可戳 [https://ecmadao.github.io/rxjs-example](https://ecmadao.github.io/rxjs-example/)\n\n## 开始前的准备\n\n- 使用 ES6 语法\n- 通过 webpack/webpack-dev-server 进行编译\n- 通过[探索 RxJS - Core Concept](https://github.com/ecmadao/Coding-Guide/blob/master/Notes/RxJS/%E6%8E%A2%E7%B4%A2RxJS-CoreConcept.md)学习 RxJS 的核心概念\n\n## 本地跑起来\n\n```bash\n$ git clone https://github.com/ecmadao/rxjs-example.git\n$ cd rxjs-example\n$ npm i\n$ npm run dev-server\n```\n\n然后打开`http://localhost:8080/webpack-dev-server`即可\n\n## 展示\n\n- 通过`RxJS`，在输入过程中实时进行异步搜索：\n\n![search repos](./images/search_repos.png)\n\n- `hover`到 avator 上之后异步获取用户信息\n\n![fetch user info](./images/fetch_info.png)\n\n## 教程目录\n\n\u003e 猛戳这里看教程：[探索 RxJS - 做一个 github 小应用](https://github.com/ecmadao/Coding-Guide/blob/master/Notes/RxJS/%E6%8E%A2%E7%B4%A2RxJS-%E5%81%9A%E4%B8%80%E4%B8%AAgithub%E5%B0%8F%E5%BA%94%E7%94%A8.md)\n\n- [初始化 DOM 事件流](https://github.com/ecmadao/Coding-Guide/blob/master/Notes/RxJS/%E6%8E%A2%E7%B4%A2RxJS-%E5%81%9A%E4%B8%80%E4%B8%AAgithub%E5%B0%8F%E5%BA%94%E7%94%A8.md#初始化-dom-事件流)\n- [实时进行异步获取](https://github.com/ecmadao/Coding-Guide/blob/master/Notes/RxJS/%E6%8E%A2%E7%B4%A2RxJS-%E5%81%9A%E4%B8%80%E4%B8%AAgithub%E5%B0%8F%E5%BA%94%E7%94%A8.md#实时进行异步获取)\n- [优化事件流](https://github.com/ecmadao/Coding-Guide/blob/master/Notes/RxJS/%E6%8E%A2%E7%B4%A2RxJS-%E5%81%9A%E4%B8%80%E4%B8%AAgithub%E5%B0%8F%E5%BA%94%E7%94%A8.md#优化事件流)\n- [流的监听](https://github.com/ecmadao/Coding-Guide/blob/master/Notes/RxJS/%E6%8E%A2%E7%B4%A2RxJS-%E5%81%9A%E4%B8%80%E4%B8%AAgithub%E5%B0%8F%E5%BA%94%E7%94%A8.md#流的监听)\n- [更加优雅的 Rx 风格](https://github.com/ecmadao/Coding-Guide/blob/master/Notes/RxJS/%E6%8E%A2%E7%B4%A2RxJS-%E5%81%9A%E4%B8%80%E4%B8%AAgithub%E5%B0%8F%E5%BA%94%E7%94%A8.md#%E6%9B%B4%E5%8A%A0%E4%BC%98%E9%9B%85%E7%9A%84-rx-%E9%A3%8E%E6%A0%BC)\n- [创建基于`hover`的事件流](https://github.com/ecmadao/Coding-Guide/blob/master/Notes/RxJS/%E6%8E%A2%E7%B4%A2RxJS-%E5%81%9A%E4%B8%80%E4%B8%AAgithub%E5%B0%8F%E5%BA%94%E7%94%A8.md#%E5%88%9B%E5%BB%BA%E5%9F%BA%E4%BA%8Ehover%E7%9A%84%E4%BA%8B%E4%BB%B6%E6%B5%81)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecmadao%2Frxjs-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecmadao%2Frxjs-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecmadao%2Frxjs-example/lists"}