What is Apollo Client?
mainApollo Client is a comprehensive GraphQL state management library for JavaScript. It allows you to manage both local and remote data using GraphQL, enabling you to fetch, cache, and modify application data while automatically updating your UI.
Key capabilities include:
- Declarative data fetching: Fetch data via queries without manually managing loading states.
- Normalized caching: Uses a request and response cache to boost performance by serving cached data immediately.
- Modern React support: Built to leverage React features like Hooks and Suspense.
- Incremental adoption: Can be added to existing JavaScript or TypeScript applications feature by feature.
- Universal compatibility: Works with any build setup and any GraphQL API.