QIAOPANG.COM · 陈天(TYR CHEN)2013–2026 精选技术与随笔文集 · 共 260 篇按时间顺序浏览(2013 → 2026)↗
程序人生 · 陈天文集QiaoPang · Systems, Craft & Agentic Era
时间轴 ↗

react 的阿喀琉斯之踵

react 的阿喀琉斯之踵

8月18号,facebook 发文进一步澄清了 react 的 license。这似乎是对 apache foundation 将 facebook 特有的 BSD + patents license 列入 category X 的一种辩解,可惜,社区并不太买账。

先讲讲 Category X 是什么。它是一个列出了那些不能在 apache project 中使用或者引用的 license 的列表。包括:GPL 及其衍生(如 APGL),Microsoft / Amazon 等公司的开源协议等等。最近,facebook 的开源 license 被列入其中,而 react 使用了这种 license。

这直接导致了使用 react 的很多 apache 项目,如 CouchDB,RocksDB,陷入了两难的窘境。他们联名请求 facebook 更改 react 的 license,以便符合 apache 的要求,可惜,facebook 拒绝了。

让我们先看看这混入革命团队,打着 open source 旗帜的浓眉大眼有什么危害:

Does the additional patent grant in the Facebook BSD+Patents license terminate if I create a competing product?

No.

Does the additional patent grant in the Facebook BSD+Patents license terminate if I sue Facebook for something other than patent infringement?

No.

Does the additional patent grant in the Facebook BSD+Patents license terminate if Facebook sues me for patent infringement first, and then I respond with a patent counterclaim against Facebook?

No, unless your patent counterclaim is related to Facebook’s software licensed under the Facebook BSD+Patents license.

Does termination of the additional patent grant in the Facebook BSD+Patents license cause the copyright license to also terminate?

No.

MORE IN 编程语言与工程

同专栏延伸阅读

查看「编程语言与工程」全部文章 →

是时候认识 jj 了:Git 的下一个进化方向

Git 统治了版本控制二十年,但它的暂存区、脆弱的 rebase、动辄阻断的合并冲突,正在成为 AI 时代的绊脚石。jj 从底层重构了版本控制的心智模型,而且完全兼容 Git。这篇文章带你看清它为什么值得关注。

New Hope (2025–2026)5,588 字 · 12 分钟