github refinedev/refine @pankod/refine-cloud@2.4.0

Minor Changes

  • Added useCloudQuery and useCloudMutation 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

Don't miss a new refine release

NewReleases is sending notifications on new releases.