MobX observable | Rx Observable | |
---|---|---|
common use case | facilitating updating a UI when data changes | composing frequently-updated data from multiple sources and/or implementing a lot of timing logic |
better name is | "sneaky KVO" | "composable streams" |
very similar to | reactive data in Meteor and Vue | Node streams if Node streams were always in object mode and had things like through2 and multipipe built in |
implementation in JS requires | defineProperty or Proxy |
— |
usually | synchronous | asynchronous |
character | complicated idea that seems simple | simple idea that seems complicated |
relationship to withdrawn Object.observe proposal | MobX solves the same problem with a more declarative API | none |
relationship to the Observable proposal | none | inspiration for the Observable proposal |
Last active
February 10, 2018 03:32
-
-
Save mheiber/42c55bef6b5fb753b007ae857f2d17df to your computer and use it in GitHub Desktop.
Differences between MobX Observables and Rx Observables
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment