Skip to content

Version 2.0.0

Choose a tag to compare

@derrickreimer derrickreimer released this 10 Jan 20:41
· 14 commits to master since this release
  • Migrate to TypeScript
  • Add StaticKitProvider and useStaticKit hook for consuming context
  • Breaking change: New argument structure for the useForm hook:
const [state, handleSubmit] = useForm(formKey, opts);

You can optionally pass a StaticKit client instance in opts, or place the StaticKitProvider higher up in the tree and let the hook use that client instance.

v1.2.0...v2.0.0