Skip to content
oRPC
Esc
navigateopen⌘Jpreview
On this page

v1.8.2

React SWR Integration docs

import useSWR from 'swr'

const { data, error, isLoading } = useSWR(
  orpc.planet.find.key({ input: { id: 123 } }),
  orpc.planet.find.fetcher(),
)

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

Last updated on August 20, 2025

Was this page helpful?