v0.15.0
New package @orpc/vue-query
and @orpc/react-query
Give you more choices when integrate with TanStack query
const query = useQuery(orpc.getting.queryOptions())
const mutation = useMutation(orpc.getting.mutationOptions({
onSuccess: () => {
queryClient.invalidateQueries({ queryKey: orpc.getting.key() })
}
}))
🚀 Features
- next:
- openapi:
- react-query:
- server, client:
- vue-query: