cloudkitty
v0.0.3
Published
Painless CloudKit on Web
Downloads
7
Readme
CloudKitty
Hook and Context Provider that make it easy to interact with Apple CloudKit.
Provider
import CloudKittyProvider from "cloudkitty";
// ...
<CloudKittyProvider
token={"<Your CloudKit Token>"}
environment="development"
containerIdentifier="Your Container Name"
>
<App />
</CloudKittyProvider>
Hook
import { useCloudKitty } from "cloudkitty";
// ...
const { loading, error, container, user } = useCloudKitty();