GraphQL Requests on Your Front-end w/Next.js

Discover Sitecore April 11, 2022
Video Thumbnail

Discover Sitecore

View Channel

About

No channel description available.

Latest Posts

Video Description

In this video, Sitecore Developer Advocate Thomas Desmond looks at how to use a GraphQL client in the popular Next.js front-end framework. Example Code Repository: https://github.com/thomas-desmond/edge-graphql-demo GraphQL is a query language for APIs and a runtime for fulfilling those queries with existing data. GraphQL: - Provides a complete and understandable description of the data in your API - Gives clients the power to ask for exactly what they need - Gets all the data an app needs in a single request, which is critical for e-commerce merchandising and optimizing digital customer experience - Makes it easier to evolve APIs over time - Enables powerful developer tools Thomas uses Sitecore Experience Edge for Content Hub for the GraphQL endpoint, which comes with a read-only GraphQL schema designed to accommodate common front-end use cases for headless Sitecore development. After watching the video, click below to learn more about the Sitecore Experience Edge schema. https://doc.sitecore.com/xp/en/developers/hd/21/sitecore-headless-development/the-experience-edge-schema.html If you want to learn how to setup Sitecore Experience Edge for Content Hub check out the previously published video: https://www.youtube.com/watch?v=UH_f4Fin6KU

You May Also Like