Apollo Client
Web framework / library · Free
A GraphQL client with a normalized cache and UI integrations: it manages application data queries and changes.
Also known as: apollographql/apollo-client; apollo-client; apollo-graphql-client

What you can use for free
Code and local use under MIT.
Paid features and costs
Computing resources, self-hosting, and external services are paid for separately if used.
Access and limitations
Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.
Use cases
- Manage GraphQL data in a React application
- Align the normalized cache and data updates after mutations
Example workflow
A possible workflow; this is not a report of hands-on testing.
Manage GraphQL data in a React application.
Before you start
- Web application source code and the intended workflow.
- The project's framework and runtime version.
Steps
- Connect a GraphQL endpoint and define the screen's query.
- Align the normalized cache and data updates after mutations.
- Add real data and error handling; check the production build.
Check your result
- The workflow works after a page refresh and with invalid data.
- The bundle, server rendering, and supported browsers suit the project.
Choosing Apollo Client
Manage GraphQL data in a React application
Choose this when
- Manage GraphQL data in a React application
- Align the normalized cache and data updates after mutations
Requirements
- An available GraphQL endpoint, Apollo Client, and the graphql package; integration with the selected UI.
Things to consider
- Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
- Terms of use: MIT for the code; dependencies have separate licenses.
Frequently asked questions
What can you use for free in Apollo Client?
Code and local use under MIT.
What additional costs might arise with Apollo Client?
Computing resources, self-hosting, and external services are paid for separately if used.
What terms of use matter for Apollo Client?
MIT for the code; dependencies have separate licenses.
How do you get started with Apollo Client?
Connect a GraphQL endpoint and define the screen's query. Align the normalized cache and data updates after mutations. Add real data and error handling; check the production build.
Does Apollo Client work only with React?
The README also lists Vue, Angular, Svelte, and plain JavaScript. Its main role is GraphQL queries and caching; integration with the selected UI depends on the corresponding approach or adapter. Applications require a GraphQL endpoint and client dependencies.
License
MIT for the code; dependencies have separate licenses.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- Apollo Client
- web
- Development