I am looking for a solution that use React for the font-end and WordPress for the backend with the following requirements:
- No static rendering at build time:
- Was actually thinking Gatsby or React Static at first, but it requires not to re-build every time the content updates
- No node.js middleware:
- Cannot add a middleware to call the WordPress api and then render React
- No classic SPA:
- For SEO and performance considerations, we want not just a blank page coming back from the response
A potential solution we're looking at is to use Gatsby or React Static to build and then use PHP to update the generated HTML and JSON with the latest content, which isn't really an ideal solution in my opinion; so reaching out to see if there's any other solutions.
Thanks a lot!