1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Use GraphiQL Spark to demo a GraphQL schema without an endpoint

    graphqlGraphQL

    GraphiQL Spark is convenience layer on top of GraphiQL allowing you to run queries or mutations completely client side. In addition the query/mutation response is rendered once GraphiQL is mounted, which makes it ideal for blog posts.

    In this lesson we start from an empty create-react-app and add a GraphiQL Spark example.

    You can find more examples of GraphiQL Spark at the documentation: https://nikgraf.github.io/graphiql-spark/