{"componentChunkName":"component---src-templates-modal-page-js","path":"/category/utilities/cppgraphqlgen","result":{"pageContext":{"node":{"slug":{"current":"cppgraphqlgen"},"name":"cppgraphqlgen","githubUrl":"https://github.com/Microsoft/cppgraphqlgen","description":"C++ GraphQL schema service generator.","developer":{"name":"Microsoft","url":"https://www.microsoft.com/","logo":{"asset":{"url":"https://cdn.sanity.io/images/g5bd2nk6/production/1567cfd0994b62ae55f5761bf4fbea5f08da2543-1024x219.png"}}},"price":"Free","url":null,"tags":[{"id":"54d6464b-8191-5fa5-88b8-ab391bf3ebe3","name":"C++","slug":{"current":"c++"}}],"logo":null,"categories":[{"name":"Utilities","slug":{"current":"utilities"}}],"_rawContent":[{"_key":"3ba411550d92","_type":"block","children":[{"_key":"3ba411550d920","_type":"span","marks":[],"text":"GraphQL and React go together like peanut butter and jelly, especially if you use a GraphQL client/compiler like Relay or Apollo."}],"markDefs":[],"style":"normal"},{"_key":"3acf84d6cb0c","_type":"block","children":[{"_key":"3acf84d6cb0c0","_type":"span","marks":[],"text":"But GraphQL services are only implemented on the server. When using React Native or React JS in a hybrid application, you typically have a native application which hosts islands or entire pages of UI rendered with React components, and you might like to display content that you've cached offline or that you otherwise generate on the client without needing to declare a separate data interface or require a server round trip to load it."}],"markDefs":[],"style":"normal"},{"_key":"bd95db60e4dd","_type":"block","children":[{"_key":"bd95db60e4dd0","_type":"span","marks":[],"text":"This project includes a graphqlservice library with the core functionality of a GraphQL service and a schemagen utility to generate types for your custom GraphQL service schema definition. Once you implement the pure virtual methods on the object interfaces and add hooks to the Relay Network Layer/Apollo Terminating Link to call your service, you can use the same GraphQL client code to access your native data source or a GraphQL service online. You might even be able to share some more of that code between a progressive web app and your native/hybrid app."}],"markDefs":[],"style":"normal"}]},"targetPath":"/category/utilities","modalType":"tool"}},"staticQueryHashes":[]}