This is the third part of Create react app with GraphQL way of WordPress data
In this part, we will build the App component at src/components/App.js
Here kick on styled-components. And we use Posts and PostWidget component here. For that, we can introduce props.
Continue reading “App Component in React”
This is the first part of Create react app with GraphQL way of WordPress data
Download WP-GraphQL from https://github.com/wp-graphql/wp-graphql and rename it wp-graphql. Install it in WordPress and active this plugin as usual. Then, visit
If it shows a page of error, then confirmed wp-graphql plugin works.
Continue reading “Setup for React front-end with GraphQL to fetch WordPress back-end”