Skip to content
Writing

Notes from the workbench

Notes on WordPress plugin development, React, and the MERN stack — lessons from building and shipping real software.

FeaturedWordPress

How I Structure React-Based WordPress Plugins

A React-based WordPress plugin is really two projects in one folder: the PHP that WordPress loads and the React code that gets compiled. Here’s the simple folder structure I use to keep them organized, plus what to do when src/ is already taken.

2 min readRead article