If you’re integrating your React frontend with a GraphQL API, you may want to check out the Apollo client! I found it to be pretty straightforward to hook up.
I’m going to use the yarn package manager to create a new React app called react-with-apollo. You can, of course, use npm if you’d like.
We can cd into that directory and run yarn start to make sure our default React app is up-and-running on port 3000.
#react #apollo #graphql