apollo-runes Svelte Themes

Apollo Runes

Svelte 5 integration with Apollo GraphQL based on runes

Apollo Runes

Quick Start

Get started with Apollo Runes in minutes:

pnpm add apollo-runes @apollo/client graphql rxjs
# or
npm i apollo-runes @apollo/client graphql rxjs
# or
yarn add apollo-runes @apollo/client graphql rxjs

Same as here for React

Usage

  import { Query } from 'apollo-runes';
  import { gql} from '@apollo/client';


  const GET_USERS = gql`
    query GetUsers {
      users {
        id
        name
        email
      }
    }
  `;

  const { data, loading, error } = new Query(GET_USERS);

Top categories

Loading Svelte Themes