Skip to content

Releases: formspree/statickit-react

v2.1.1

Choose a tag to compare

@derrickreimer derrickreimer released this 30 Mar 03:10

v2.1.0...v2.1.1

Version 2.1.0

Choose a tag to compare

@derrickreimer derrickreimer released this 25 Feb 18:29

v2.0.1...v2.1.0

Version 2.0.1

Choose a tag to compare

@derrickreimer derrickreimer released this 10 Jan 21:33

Bug fix: add indexer to ValidationError props type

This will allow any additional props to pass-through without TypeScript having an issue with it.

v2.0.0...v2.0.1

Version 2.0.0

Choose a tag to compare

@derrickreimer derrickreimer released this 10 Jan 20:41
  • 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

Version 1.2.0

Choose a tag to compare

@derrickreimer derrickreimer released this 21 Oct 19:56
  • Update core to fix body serialization bug.
  • Pass along clientName with form submission.

v1.1.2...v1.2.0

Version 1.1.2

Choose a tag to compare

@derrickreimer derrickreimer released this 21 Oct 18:10

An undeclared variable was referenced when data values were functions.

v1.1.1...v1.1.2

Version 1.1.1

Choose a tag to compare

@derrickreimer derrickreimer released this 21 Oct 18:05
  • Accept data property for adding programmatic fields to the form payload.

v1.1.0...v1.1.1

Version 1.1.0

Choose a tag to compare

@derrickreimer derrickreimer released this 21 Oct 15:48
  • Accept site + form combo (in lieu of id) for identifying forms.

v1.0.1...v1.1.0

Version 1.0.1

Choose a tag to compare

@derrickreimer derrickreimer released this 12 Oct 04:29
  • Bundle iife for testing in browser fa5f330

v1.0.0...v1.0.1

Version 1.0.0

Choose a tag to compare

@derrickreimer derrickreimer released this 11 Oct 21:05
v1.0.0

1.0.0