- Mastering Reactive JavaScript
- Erich de Souza Oliveira
- 168字
- 2021-07-09 20:33:10
Difference between bacon.js and RxJS observables
In Chapter 2, Reacting for the First Time, you learned that an observable is basically an abstraction over possible asynchronous data. The observable gives you the power to transform data using different operators and take an action when a piece of new data becomes available, using a subscriber. The bacon.js library uses the term subscriber to the object listening to incoming data, but on Reactive Extensions, we will use a different term; we will call it Observer.
Conceptually, there is no difference between the two. Basically, it was just names chosen by the developers of both libraries; however, it is important that you're aware of both the names as you will see both being used in the documentation of the libraries.
In bacon.js, we saw two different flavors of observables:
- EventStreams
- Properties
In RxJS, we will always talk about:
- Observables
- Observers
- Linux實戰(zhàn)
- Kali Linux滲透測試全流程詳解
- 精解Windows 8
- SharePoint 2013 WCM Advanced Cookbook
- Mastering KVM Virtualization
- Moodle 3.x Teaching Techniques(Third Edition)
- Dreamweaver CS5.5 Mobile and Web Development with HTML5,CSS3,and jQuery
- Mastering Reactive JavaScript
- Windows 7應用入門與技巧
- AWS SysOps Cookbook
- Drupal 7 Cookbook
- Office 365 User Guide
- Less Web Development Essentials
- Mastering Eclipse Plug-in Development
- Getting Started with Citrix XenApp 6.5