made with react.js

Create React WPTheme

Boilerplate for WordPress Themes using React

Visit Site Demo Project

Description

Boilerplate for WordPress Themes using React

"I wanted to teach myself React using WordPress as a back end. Most of the React tutorials I looked at used create-react-app. But using that to create a WordPress theme is quite problematic due to create-react-app's use of the Webpack Dev Server. So create-react-wptheme uses Webpack in watch mode and your WordPress server to serve the theme (what better?).

I had to write a custom Websocket server/client and a few other utilities to get feature-parity(ish) with create-react-app. Meaning create-react-wptheme has browser launch, browser refresh and "error overlay" just like create-react-app."


Social Media Links

Enterprise SaaS Starter Kit Open-source SaaS Boilerplate
icon-eye-dark Created with Sketch. 718
AstroPaper Astro Blog Theme
icon-eye-dark Created with Sketch. 406
Sentry for React React Error Monitoring
πŸ’™ Sponsored by Friends
We’re hosting on Digital Ocean! πŸ’™ Try it today and get a free $100 credit.
Saleor Storefront eCommerce Storefront
icon-eye-dark Created with Sketch. 892
Gravity SaaS Boilerplate
icon-eye-dark Created with Sketch. 2.964