Aetheris
GitHubGitHub (opens in a new tab)
  • Introduction
  • Guide
    • Getting Started
  • Concepts
    • Context
    • Validation
    • Middleware
    • Subscriptions
    • Client
  • Integrations
    • Vanilla
    • React Query
      • useQuery
      • useMutation
      • useInfiniteQuery
    • Next
Question? Give us feedback → (opens in a new tab)Edit this page
Integrations
React Query
useQuery

Use Query

Use the useQuery hook to fetch data from your api.

const { data } = client.getPost.useQuery({
    input: { id: 1 },
});
React QueryuseMutation

MIT 2024 © Aetheris.