ReactiveX/rxjs

Examples from contributor days

Open

#2,324 opened on 2017年2月3日

GitHub で見る
 (16 comments) (19 reactions) (2 assignees)TypeScript (31,024 stars) (3,007 forks)batch import
docshelp wanted

説明

At RxJS contributor days we discussed adding an examples/ folder to the repo and populating it with some real use cases for RxJS. Here are the examples we came up with:

  • Design an API using RxJS
  • Synchronizing async executables
  • Sharing expensive fetch data in a lazy way
  • Encouraging immutability
  • Exponential back off (dealing with a rate limited API)
  • Dealing with a bad connection / flaky server
  • Message Queues / Reactive events
  • Stock Ticker
  • Autocomplete
  • Random Walk
  • DOM Events (Double click / Drag n Drop)
  • Polling
  • Multiple HTTP Requests
  • Canvas - Slow Brushstroke
  • Color Picker
  • Animation timeline
  • Game scoreboard
  • Progress of upload (or any ajax)
  • Task manager
  • Custom backpressure
  • Observables that return generators or promises
  • Reqest / Reply pattern on websockets
  • Writing ‘async’ module with RxJS
  • Real error / exception handling
  • Undo and Redo
  • Wrapping now observable processes inside observables
  • Redux inside RxJS
  • Filesystem.js and Process.js
  • Useful .let() examples (combine throttle and debounce for example)
  • Schedulers (dealing with large, stack destroying recursive processes)
  • Re-entrant examples (see RX issues for specific problems)
  • Cancellation
  • Framework specific examples (Angular, React)
  • Effective Interop

コントリビューターガイド

Examples from contributor days · ReactiveX/rxjs#2324 | Good First Issue