Using wp-scripts to utilize React in enqueued JS file. React entry point is page template page-react.php.