React, Redux, and using the WordPress REST API
Thursday, 28 September 2017
Web application development using React, Redux and server-side rendering has been exciting. A great general resource I’ve found on the topic is a book from O’Reilly Media titled, “Learning React – Functional Web Development with React and Redux.” It lays out the basics, while describing other helpful tools that one might use in a fully assembled application (Jest, ESLint, and React Router make appearances in this book as well).
One of the things I like most about the ecosystem is the number of resources offered. Not interested in reading a book? Checkout the React and Redux documentation. They’re both excellent. Additionally, there are plenty of videos (1, 2, 3), tutorials, posts and even a CLI tool, just to get started.
To explore some ideas in this space, I decided to bundle a setup that would consume portions of the WordPress REST API. While not trying to get too fancy, I affectionately titled it, postpress and styled it to look similar to this site. Check out a screenshot below: