V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐关注
Meteor
JSLint - a JavaScript code quality tool
jsFiddle
D3.js
WebStorm
推荐书目
JavaScript 权威指南第 5 版
Closure: The Definitive Guide
hupo0

给一个类 rxjs 的库写了篇介绍

  •  
  •   hupo0 · Jan 7, 2021 · 2908 views
    This topic created in 1949 days ago, the information mentioned may be changed or developed.
    ~~碰瓷一下,毕竟说到 rxjs 更直观~~

    《把 js 的数据分成 pull 和 push 处理—— collection-query 》[掘金]( https://juejin.cn/post/6914863516818112519)
    5 replies    2021-01-08 16:24:30 +08:00
    crclz
        1
    crclz  
       Jan 7, 2021   ❤️ 2
    支持楼主。
    另外可以了解一下 C#的 ReactiveX 和 LINQ 。RxJS ( ReactiveX/rxjs )和 IxJS ( ReactiveX/IxJS )是 C#的这些东西移植过去的。
    hupo0
        2
    hupo0  
    OP
       Jan 8, 2021
    @crclz 我之前也是写 C#的,linq 对我帮助很大。哈哈,我以前写过 linq.ts 。

    pull 和 push 这个概念就是从 rxjs 启发来,只不过我做成 cq,感觉用起来思路更清晰点。

    IxJS 我是第一次听说,原来给 async generator 写库的事两三年前就有了啊。
    beyondex
        3
    beyondex  
       Jan 8, 2021
    @crclz
    Angular 上用了很久 RxJS,ReactiveX 的概念原来是起源于 C# ?
    crclz
        4
    crclz  
       Jan 8, 2021
    @beyondex 哈哈!

    Rx 是来源于 C#的。RxJS 也是微软的项目。

    这是 ReactiveX 的维基百科的截取:Reactive Extensions (Rx) was invented by the Cloud Programmability Team at Microsoft around 2011, as a byproduct of a larger effort called Volta.
    beyondex
        5
    beyondex  
       Jan 8, 2021   ❤️ 1
    @crclz soga,那么 Rx 加上 MVVM 架构,TypeScript,vs code 微软给前端贡献的大礼包可真够多的 哈哈。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   954 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 19:10 · PVG 03:10 · LAX 12:10 · JFK 15:10
    ♥ Do have faith in what you're doing.