WordPress ♥ React ♥ REST API

Grown from open source PHP and MySQL roots, WordPress can probably deliver most of what you need with that stack. Combining WordPress with single-page JavaScript applications, however, has been cumbersome. That changes with WordPress 4.7.

WordPress now comes with a brand new REST API, which allows us to rethink from scratch what a WordPress project could be. When WordPress is just a CMS core with an API, it can power almost any frontend you could think up.

Many of us learned PHP by hacking on themes. Wouldn’t it be cool if you could learn modern JavaScript in the same way? So to celebrate the new WordPress API, we built this tiny frontend all in React JS, all powered by the new API. It’s intentionally minimalist so as to keep the learning curve gradual. Minimal markup, compact SCSS, jQuery to chat with the API, and a simple React component to get the ball rolling.

Please copy, modify, distribute, fork, and make this code your own.
We can’t wait to see what you’ll make!