V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
earnrepuNey
V2EX  ›  程序员

关于 React 使用 MIT 许可证之后的专利问题的思考

  •  
  •   earnrepuNey · 2017-10-15 10:45:22 +08:00 · 5366 次点击
    这是一个创建于 2378 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在 Facebook 的 Relicensing React, Jest, Flow, and Immutable.js一文中 React 已经使用 MIT 重新许可。这是个好事,尤其是对于中国的前端开发者,毕竟 React 在国内挺热门的。

    但是,是不是 FB 用 MIT 重新许可 React 之后,大家就可以高枕无忧了呢?我们看一个其他的案例。

    有个 iOS 开发的开源库 Texture, 它的前身是 FB 开源的 AsyncDisplayKit. 后来 ASDK 的几个核心开发人员离开 FB 去了 Pinterest, 所以他们觉得自己贡献了那么多代码,继续让这个仓库挂在 FB 旗下不太好。所以,fork 出了一个新的库叫 Texture.

    既然是从 FB 那里 fork 代码,那么总要给 FB 一点存在感。Texture 的许可证如下:

    The Texture project was created by Pinterest as a continuation, under a different name and license, of the AsyncDisplayKit codebase originally developed by Facebook. AsyncDisplayKit was originally released by Facebook under a BSD license and additional patent grant. Those BSD and patent licenses govern use of code in Texture contributed prior to 4/13/2017 (the original AsyncDisplayKit code), and copies of the licenses are included in the root directory of this source tree for reference. All code contributed to Texture after 4/13/2017 is released by Pinterest under an Apache 2.0 license.
    

    相信大家都能看懂。这段许可说明了,texture 从 FB 那里搬运出来的代码依然使用 BSD-license 和 additional patent grant 双重许可。之后提交的代码才以 Apache 2.0 license 许可。

    对于 React, 到底怎么算 MIT 许可呢?是 React 16 新提交的代码算 MIT 许可,原来就在 React 15 里的代码依旧是 BSD-license 和 additional patent grant 双重许可呢 ? 还是说 React 整个项目完全算 MIT 许可呢 ?

    看 FB 的博客 "we are going to relicense our open source projects React, Jest, Flow, and Immutable.js under the MIT license. " 但是后面作者还说 "Although we still believe our BSD + Patents license provides some benefits to users of our projects"

    后面这句话怎么理解:users of our projects 指的是使用 React 框架的开发者和公司吗?

    那些宣布放弃 React 的公司

    百度之前是要求放弃 React,过渡到 Vue 或者自研的 San 框架。我不是百度内部的,也不是消息人士。所以欢迎有消息的人说说百度现在的进展和态度。

    但是,我觉得百度应该不会停止这个迁移的过程。

    百度最近股价创了新高,而且用实际行动证明自己确实要 “ all in AI ” , 长远规划为了和其他大公司竞争,尤其是考虑未来和 Facebook 可能的潜在的冲突。---- 这一段蛮搞笑的,一个前端框架居然能影响两个大公司的竞争,我想的太多了。

    蚂蚁出的 AntD 要迁移到 preact, 也是一个蛮值得关注的点。

    一点框架热度的对比

    今天搜了搜 xxx trends, 🇺🇸 那边 React Vue Angular 还能说差不多,但是国内 React Vue 热度远远高于 Angular. 不知道为什么。。

    | 对比 | React + React.js | Vue + Vue.js | Angular | | :---: | :---: | :---: | :---: | | 🇨🇳 | 78 | 63 | 26 | | 🇺🇸 | 82 | 81 | 66 |

    https://imgur.com/a/oU3Gd

    8 条回复    2017-10-15 21:11:51 +08:00
    mysql
        1
    mysql  
       2017-10-15 10:58:30 +08:00
    楼主从哪里得知 蚂蚁出的 AntD 要迁移到 preact
    azh7138m
        2
    azh7138m  
       2017-10-15 12:54:31 +08:00 via Android
    preact 有些动画和事件上的问题需要自己包一层,工作量有点大的样子,这个有人开始做了吗?
    jinboker
        3
    jinboker  
       2017-10-15 13:34:33 +08:00
    我记得 fb 在提交 MIT 协议的时候是把 15 和 16 的协议都给改了,所以 15 的最新版用的也是 MIT
    而且,两年前 react 的协议也是 MIT,双重许可那是后来改的
    otakustay
        4
    otakustay  
       2017-10-15 13:35:48 +08:00
    百度现在的态度是核心业务不使用 react,非核心的可以使用 MIT 协议的 react,非 MIT 的版本必须升级,rn 完全放弃
    zlgodpig
        5
    zlgodpig  
       2017-10-15 13:39:53 +08:00
    secondwtq
        6
    secondwtq  
       2017-10-15 13:41:09 +08:00
    百度有动作之后,AntD 应该也会有相关动作
    不过应该会保持 React,Preact 两边都兼容

    FB 那话的意思应该是本来好的东西白送你,结果一帮法盲白痴偏要来搞事,我成受不了给你换成假冒伪劣山寨货,白痴们高兴了,而我 FB 作为圣母感觉非常遗憾
    earnrepuNey
        7
    earnrepuNey  
    OP
       2017-10-15 17:53:11 +08:00
    @mysql @zlgodpig 是我弄错了 [这里]( https://github.com/ant-design/ant-design-mobile/issues/1823) “ antd-mobile 作为基础 UI 组件库已经支持无缝迁移到 preact ” . 另外,据 [玉伯]( https://weibo.com/lifesinger?profile_ftype=1&is_all=1#_0) 说 “很多人咨询 React 专利协议对 Ant Design 的影响,统一回复下:antd-mobile 已兼容 preact 类库,同时 antd 长期也会逐步切换到无专利协议风险的类库上(可能是 preact 增强版、或自研类库)” 你们看,他们会不会迁移呢。。。
    kookxiang
        8
    kookxiang  
       2017-10-15 21:11:51 +08:00
    15 新版是 MIT 啊
    你们啊,报道出现了偏差是要负责任的!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   898 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 21:10 · PVG 05:10 · LAX 14:10 · JFK 17:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.