RR

reactivex/rxjs

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

3.2万 stars 质量 72 趋势 42Apache-2.0

一个用于JavaScript的反应式编程库

概览

RxJS 是一个用于编写带有 Observable 值的异步和事件程序的库。该仓库包含基于平台的下一代 RxJS,计划以 . RxJS 9 是开发中的预发布工作。计划中的第一个测试版是 9.0.0-beta.0,但尚未发布到 npm。下一个标签仍指向早期的 RxJS 8 预发布版,而 RxJS 7 仍是最新的生产线并持续维护。 RxJS 8 是真正的工作,而不是被跳过的版本。开发多年前就开始了,但在 Web Platform Observable 提案最终确定期间暂停了。新的实现是基于平台的生成,而不是那个暂停的 RxJS 8 分支的延续,因此从 9 版本开始,以让架构断裂清晰可见,避免将旧的 RxJS 8 工作呈现为正式发布的产品。 - RxJS 在存在时使用原生网页平台 Observable,仅在需要时安装符合规范的备选。

概述(AI 翻译)

RxJS 是一个用于编写异步和基于事件的程序的库,具有 可观测值。本仓库包含基于平台的下一代 RxJS 的作品,计划以 RxJS 9 的形式发布。

RxJS 9 目前处于预发布阶段的开发阶段。计划中的第一个测试版是 9.0.0-beta.0,但尚未发布到 npm。next 标签仍然存在 指向早期的RxJS 8预发布版,而RxJS 7仍为生产版 latest线路,并持续维护。

为什么是RxJS 9?RxJS 8发生了什么?

RxJS 8 是真正的工作,不是被跳过的版本。开发多年前就开始了, 在Web平台可观察性提案最终确定期间暂停了。新的 实现是基于平台的生成,而非 暂停了 RxJS 8 分支,因此从版本 9 开始构建架构 断裂的明确,避免将旧的RxJS 8作品呈现为已发布的版本 产品。

RxJS 9 有什么不同?

  • RxJS 使用原生网页平台 Observable 安装 只有在必要时才会成为顺从的后备方案。
  • RxJS 运算符和工厂是精确的模块拥有符号。它们不会添加 字符串命名为 RxJS 的方法连接到平台 API。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

RxJS

RxJS is a library for composing asynchronous and event-based programs with Observable values. This repository contains the platform-based next generation of RxJS, planned for release as RxJS 9.

RxJS 9 is prerelease work in development. The planned first beta is 9.0.0-beta.0, but it has not been published to npm yet. The next tag still points to the earlier RxJS 8 prerelease, while RxJS 7 remains the production latest line and continues to be maintained.

Why RxJS 9? What happened to RxJS 8?

RxJS 8 was real work, not a skipped release. Development began years ago and was paused while the Web Platform Observable proposal was finalized. The new implementation is a platform-based generation rather than a continuation of that paused RxJS 8 branch, so it starts at version 9 to make the architectural break unmistakable and avoid presenting the old RxJS 8 work as the released product.

What is different in RxJS 9?

  • RxJS uses the native web-platform Observable when one exists and installs a conforming fallback only when needed.
  • RxJS operators and factories are exact, module-owned Symbols. They do not add string-named RxJS methods to the platform API.
  • Platform Observable behavior and producer-per-subscription behavior are explicit, separate contracts. Use ColdObservable when each direct
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add reactivex/rxjs
新手?先看 mcpskill.org 教程 →