Graphlit Platform
Developer PortalChangelogPlatform StatusMore InformationJoin Discord
  • Graphlit Platform
    • What is Graphlit?
    • Key Concepts
  • Getting Started
    • Sign up for Graphlit
    • Create Graphlit Project
    • For Python Developers
    • For Node.js Developers
    • For .NET Developers
  • 🚀Quickstart
    • Next.js applications
      • GitHub Code
    • Python applications
      • GitHub Code
  • Graphlit Data API
    • API Usage
      • API Endpoints
      • API Authentication
      • API Explorer
      • GraphQL 101
    • API Reference
      • Content
        • Ingest With Workflow
        • Ingest File
        • Ingest Encoded File
        • Ingest Web Page
        • Ingest Text
        • Semantic Search
          • Query All Content
          • Query Facets
          • Query By Name
          • Filter By Contents
        • Metadata Filtering
          • Filter By Observations
          • Filter By Feeds
          • Filter By Collections
          • Filter By Content Type
          • Filter By File Type
          • Filter By File Size Range
          • Filter By Date Range
        • Summarize Contents
        • Extract Contents
        • Publish Contents
      • Knowledge Graph
        • Labels
        • Categories
        • Persons
        • Organizations
        • Places
        • Events
        • Products
        • Repos
        • Software
      • Collections
      • Feeds
        • Create Feed With Workflow
        • Create RSS Feed
        • Create Podcast Feed
        • Create Web Feed
        • Create Web Search Feed
        • Create Reddit Feed
        • Create Notion Feed
        • Create YouTube Feed
        • User Storage Feeds
          • Create OneDrive Feed
          • Create Google Drive Feed
          • Create SharePoint Feed
        • Cloud Storage Feeds
          • Create Amazon S3 Feed
          • Create Azure Blob Feed
          • Create Azure File Feed
          • Create Google Blob Feed
        • Messaging Feeds
          • Create Slack Feed
          • Create Microsoft Teams Feed
          • Create Discord Feed
        • Email Feeds
          • Create Google Mail Feed
          • Create Microsoft Outlook Feed
        • Issue Feeds
          • Create Linear Feed
          • Create Jira Feed
          • Create GitHub Issues Feed
        • Configuration Options
      • Workflows
        • Ingestion
        • Indexing
        • Preparation
        • Extraction
        • Enrichment
        • Actions
      • Conversations
      • Specifications
        • Azure OpenAI
        • OpenAI
        • Anthropic
        • Mistral
        • Groq
        • Deepseek
        • Replicate
        • Configuration Options
      • Alerts
        • Create Slack Audio Alert
        • Create Slack Text Alert
      • Projects
    • API Changelog
    • Multi-tenant Applications
  • JSON Mode
    • Overview
    • Document JSON
    • Transcript JSON
  • Content Types
    • Files
      • Documents
      • Audio
      • Video
      • Images
      • Animations
      • Data
      • Emails
      • Code
      • Packages
      • Other
    • Web Pages
    • Text
    • Posts
    • Messages
    • Emails
    • Issues
  • Data Sources
    • Feeds
  • Platform
    • Developer Portal
      • Projects
    • Cloud Platform
      • Security
      • Subprocessors
  • Resources
    • Community
Powered by GitBook
On this page

Was this helpful?

  1. Graphlit Data API
  2. API Usage

GraphQL Client Libraries

Select a GraphQL client library to use with Graphlit.

Last updated 1 year ago

Was this helpful?

While GraphQL endpoints can indeed be queried directly using standard HTTP requests, this raw approach would miss out on a number of significant benefits that come with using a dedicated GraphQL client.

These clients are specialized tools built specifically to interact with GraphQL servers, providing a range of features that optimize and enhance the process of data fetching and manipulation.

Reasons for using a GraphQL client
  • Efficient Data Fetching: GraphQL clients can combine multiple queries into a single request, reducing the round-trip calls to the server.

  • Caching: Many GraphQL clients have intelligent caching mechanisms, keeping track of data your application has already fetched. This can prevent unnecessary refetching of unchanged data and improve application performance.

  • Normalized Data: Some clients store data in a normalized format, simplifying the process of updating specific parts of the cache when data changes.

  • Declarative Data Fetching: Following GraphQL's philosophy, clients help components declare their own data needs. This design leads to more understandable and manageable data dependencies within your application.

  • Optimistic UI Updates & Mutation Results: GraphQL clients often provide built-in functionalities for optimistic updates (predicting and displaying mutation results before the server confirms them) and automatically update the cache post-mutation.

  • Real-time Updates with Subscriptions: Some GraphQL clients offer first-class support for GraphQL subscriptions, simplifying the setup of real-time updates from the server.

Popular GraphQL clients include , , and , each with its own set of advantages and trade-offs.

The choice of a client usually depends on factors such as data complexity, performance requirements, and compatibility with other libraries or frameworks in use.

For a comprehensive list of libraries, visit

Apollo Client
Relay
URQL
https://graphql.org/code/