Version 2.0.0
- Migrate to TypeScript
- Add
StaticKitProvideranduseStaticKithook for consuming context - Breaking change: New argument structure for the
useFormhook:
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.