admin管理员组

文章数量:1431912

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.

本文标签: block editorWhat version of React does Gutenberg use