Query Docs
Examples
- Simple
- Basic
- Basic w/ GraphQL-Request
- Default Query Function
- Playground
- Algolia
- Chat example (streaming)
- Shadow DOM
- Devtools Embedded Panel
- Star Wars (preact-iso)
- Rick And Morty (preact-iso)
- Offline Queries and Mutations (preact-iso)
- Suspense
- Batching
- Auto Refetching / Polling / Realtime
- Optimistic Updates
- Pagination
- Load-More & Infinite Scroll (preact-iso)
- Infinite query with Max pages
- Prefetching (preact-iso)
- SSR
- SSR with streaming
Preact Example: Rick Morty
import { render } from 'preact'
import App from './App'
const rootElement = document.getElementById('root')
if (!rootElement) throw new Error('Missing #root element')
render(<App />, rootElement)