hops-graphql
v15.2.1
Published
React and GraphQL implementation for Hops
Downloads
226
Readme
hops-graphql
Please see the main Hops Readme for general information and a Getting Started Guide.
This is a preset for Hops that can be used to set up an <ApolloProvider />
and enable server-side and client-side support for GraphQL via the Apollo framework. Additionally it also brings an Apollo Server that can be used for mocking to enable faster local development.
This preset is just combining the two presets hops-react-apollo
and hops-apollo-mock-server
.
Installation
This preset must be used together with the hops-react
preset.
Add this preset and its peer dependencies to your existing Hops React project:
npm install --save hops-graphql @apollo/client