Рет қаралды 207
Hello guys! In this video, we will look at how you can make requests to GraphQL endpoints through React. We will look at two ways - direct calling and wrapping the caller around react query. Follow the links below if you want a dedicated video on react query. This is by far the simplest method to call GraphQL endpoints through React.
If you liked the content and found it useful, make sure you support me by clicking the subscribe button and sharing this video with friends in need. 🤝
GitHub repository associated with this video - github.com/atharva-youtube/gr...
Timestamps
0:00 - Introduction
0:49 - Creating a React (Next.js) app
6:32 - Method 1: React Server Components
8:57 - Method 2: React Client Components
10:47 - Method 3: React Query
16:59 - Conclusion
Any suggestions? Leave in the comments below!
My links
E-mail - hey@atharva.codes
Blog - blog.atharva.codes
Latest Links - links.atharva.codes
Twitter - / athudeosthale
LinkedIn - / atharvadeosthale
#programming #programmer #javascript #nodejs #npm #nextjs #react #reactjs #graphql #graphql-request