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/