Starting with WordPress 5.0, React is made available as a dependency we can load in our WordPress themes and plugins. In WordPress, React is abstracted into a library called Element When we make the Element (React) library available, WordPress will load React into the global window object as window.wp.element. This is a little different from how we would normally make React a dependency in our pr
![How to Enqueue React in A WordPress Theme or Plugin - JavaScript for WordPress](https://cdn-ak-scissors.b.st-hatena.com/image/square/7bcaa9dacd0e569585e052cf5a2f254d649a79d3/height=288;version=1;width=512/https%3A%2F%2Fjavascriptforwp.com%2Fwp-content%2Fuploads%2F2018%2F11%2FReact.png)