4 ms·
I've been mixing React with static exports from WordPress. It's unbelievable to say that I actually like this solution after spending years and years with PHP,
by linkjuice4all 4y ago
I've been mixing React with static exports from WordPress. It's unbelievable to say that I actually like this solution after spending years and years with PHP, custom JS front ends, then jQuery and the backend frameworks.
React continues to get better and is great for highly interactive and customized experiences. Browsers are also making it more usable so it's just up to the front end devs to make sure history state and other stuff is accounted for.
WordPress continues to be terrible but accessible to the masses for your landing page and blog stuff. That means your design and content team don't get bogged down in the app dev process and you don't have React slinging fixed/static content. They can just bash stuff around in WordPress and export the static pages for a quick deploy.
- purplerabbit 4y agoWhat do you mean by “static exports from WordPress”? (never used WordPress before)
- linkjuice4all 4y agoThe Simply Static[0] plug-in exports all of your WordPress pages and assets into a directory that you can deploy. It basically renders the entire site and takes a snapshot of the rendered HTML. You'll lose dynamic features (but ideally you'll be doing that stuff in your React app) but the static site is very quick and you'll avoid some of the security headaches of a public WordPress instance. [0] https://wordpress.org/plugins/simply-static/ https://wordpress.org/plugins/simply-static/