最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

block editor - What version of React does Gutenberg use?

programmeradmin1浏览0评论

The jump made in React 16 seem substantial enough from 15 in terms of how things are done, especially with the new hooks that Fiber provided, so what version does it use and is it considered bad practice / a no-no to use React 16 when a version of React 15 is provided to me?

The jump made in React 16 seem substantial enough from 15 in terms of how things are done, especially with the new hooks that Fiber provided, so what version does it use and is it considered bad practice / a no-no to use React 16 when a version of React 15 is provided to me?

Share Improve this question asked Apr 15, 2019 at 23:50 coolpastacoolpasta 9691 gold badge9 silver badges24 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 6

WordPress 5.1.1 uses React 16.6.3. You can see this in the package.json file in the development version of WordPress on Trac: https://core.trac.wordpress/browser/tags/5.1.1/package.json?rev=44861

This has already been updated in trunk to 16.8.4, so the next major version of WordPress will use at least that version.

发布评论

评论列表(0)

  1. 暂无评论