block editor - What version of React does Gutenberg use?

The jump made in React 16 seem substantial enough from 15 in terms of how things are done, especially with the new hooks

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745585324a4634501.html

相关推荐

  • block editor - What version of React does Gutenberg use?

    The jump made in React 16 seem substantial enough from 15 in terms of how things are done, especially with the new hooks

    9小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信