How to Enqueue React in A WordPress Theme or Plugin

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 … Continue reading How to Enqueue React in A WordPress Theme or Plugin