Introduction

ReactWP is a Boilerplate that help quickly set modern web Single Page Application using React as the front-end and WordPress as the back-end, leveraging a Hybrid Rendering approach.

Hybrid Rendering Approach

  • Server-Side Data Injection: Essential data, including metadata, routes, medias to download, styles, and scripts, are injected by the server with PHP using WordPress. This ensures that important information is available before the application is loaded in the browser.

  • Client-Side Rendering (CSR): The React application renders components on the client side, leveraging the pre-loaded data without requiring additional fetch requests. This enhances performance and improves the user experience.

See Frontend-Backend Interaction for more informations.

More About this Boilerplate

  • ReactWP has a mentality that limits the use of plugins, keeping administration clean and consistent for clients. The goal's to build everything with your own codes around WordPress/ACF core functions & datas, modules of Node.js and React components.

  • Although the mentality is to use as few extensions as possible, you can install whatever you like without limitation except some plugins that response to an utility that we have respond with a concept.

Last updated