Title: ReactJS Version
Last modified: June 10, 2021

---

# ReactJS Version

 *  Resolved [iberezansky](https://wordpress.org/support/users/iberezansky/)
 * (@iberezansky)
 * [5 years ago](https://wordpress.org/support/topic/reactjs-version/)
 * Hi,
 * Could you update ReactJS library? You use 16.13.1, we – 17.0.2 to resolve the
   conflict [https://wordpress.org/support/topic/conflicts-with-genesis-blocks/#post-14542065](https://wordpress.org/support/topic/conflicts-with-genesis-blocks/#post-14542065)
   between our plugins.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Phil Johnston](https://wordpress.org/support/users/johnstonphilip/)
 * (@johnstonphilip)
 * [5 years ago](https://wordpress.org/support/topic/reactjs-version/#post-14543215)
 * Genesis Blocks doesn’t use a custom version of react. Rather, it uses the one
   bundled with WordPress itself, which is currently 16.13.1. See that here:
 * [https://core.trac.wordpress.org/browser/tags/5.7.2/package.json#L147](https://core.trac.wordpress.org/browser/tags/5.7.2/package.json#L147)
 * It’s best practice for WordPress plugins to use the bundled version to prevent
   these conflicts. This goes for any bundled library in WP core.
 *  Thread Starter [iberezansky](https://wordpress.org/support/users/iberezansky/)
 * (@iberezansky)
 * [5 years ago](https://wordpress.org/support/topic/reactjs-version/#post-14543996)
 * thank you, we read [https://developer.wordpress.org/reference/functions/wp_enqueue_script/](https://developer.wordpress.org/reference/functions/wp_enqueue_script/)
   and [https://developer.wordpress.org/reference/functions/wp_register_script/](https://developer.wordpress.org/reference/functions/wp_register_script/)–
   there is not react library, but dump $GLOBALS[‘wp_scripts’] shows that WP has
   react.
 *  Plugin Contributor [Phil Johnston](https://wordpress.org/support/users/johnstonphilip/)
 * (@johnstonphilip)
 * [5 years ago](https://wordpress.org/support/topic/reactjs-version/#post-14546509)
 * [@iberezansky](https://wordpress.org/support/users/iberezansky/) That’s a good
   point. It looks like that documentation is out of date.
 * But yeah, you can just do this to enqueue react:
 * `wp_enqueue_script( 'react' );`

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘ReactJS Version’ is closed to new replies.

 * ![](https://ps.w.org/genesis-blocks/assets/icon-256x256.png?rev=2368840)
 * [Genesis Blocks](https://wordpress.org/plugins/genesis-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/genesis-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/genesis-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/genesis-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/genesis-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/genesis-blocks/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Phil Johnston](https://wordpress.org/support/users/johnstonphilip/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/reactjs-version/#post-14546509)
 * Status: resolved