Minor Changes
-
Added
useCloudQuery
anduseCloudMutation
for refine cloud queries.Usage
import { useCloudQuery, useCloudMutation } from "@pankod/refine-cloud"; const { data } = useCloudQuery({ key: "postgres-list-user", config: {}, customParams: { name: "John Doe", }, }); const { mutation } = useCloudMutation(); mutation({ key: "postgres-create-user", config: {}, customParams: { name: "John Doe", email: "johndoe@mail.com", }, });
Patch Changes
-
lodash
moved to "dependencies" for CommonJS builds