DEV Community

Discussion on: How to use React inside a Wordpress application ?

Collapse
 
patrickmcelwee profile image
Patrick McElwee

Thanks for writing this up. I just did something similar, though more for a widget than a whole page (a multi step form/wizard that can persist data at various points and reach out to other APIs).

I learned from seeing how you did it. In particular, your shortcode setup was a revelation as I’m new to Wordpress.

I do think my approach will remain to sprinkle in bits of interaction where desired or where the plug-in ecosystem doesn’t meet my particular need.

I just wanted to chime in and say that I found @wordpress/scripts to be a nice alternative to create-react-app for getting up and running quickly. I’ve used CRA in the past, and it felt similar. And no need to fiddle with the build setup, which sims like a pain point in CRA.

Anyhow, thanks again for sharing