Skip to content

Releases: jaredpalmer/formik

[email protected]

16 Nov 15:51
3c51c71
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

[email protected]

16 Nov 15:04
76fa3c7
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

[email protected]

14 Nov 19:46
f828d75
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • 0ad41eb #2903 Thanks @jaredpalmer! - Renames unstable_StrictField to FastField and thus deprecates <FastField shouldUpdate> prop. If you need this functionality, use useFormikContext() and useField() in a custom component wrapped in React.memo() instead. In addition, and this is breaking, FastField is no longer passed form object in any render prop.

    If you still need to access the form object in render use FormikConsumer like so:

    - import { FastField } from 'formik'
    + import { FastField, FormikConsumer } from 'formik'
    
    <FastField name="firstName">
    - {({ field, meta, form }) => ( /* ... */ )}
    + {({ field, meta }) => (
    +   <FormikConsumer>{form => /* ... */}</FormikConsumer>
    + )}
    </FastField>

[email protected]

14 Nov 19:46
f828d75
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

[email protected]

11 Nov 22:44
8b1abb2
Compare
Choose a tag to compare

Patch Changes

[email protected]

11 Nov 22:44
8b1abb2
Compare
Choose a tag to compare

Patch Changes

[email protected]

11 Nov 23:22
036af69
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • 6383b86 #2893 Thanks @jaredpalmer! - Added optimized Form, ErrorMessage, and the following additional optimized field-level hooks
    and components that only rerender when their respective slices have changed:

    • unstable_useFieldValue
    • unstable_useFieldTouched
    • unstable_useFieldError
    • unstable_useStrictField
    • unstable_StrictField

    In addition, there is a very very unstable unstable_useFormikContextSelector that we'll be using
    to prototype other APIss in product that is also included. This will definitely not be released, so you have been warned.

[email protected]

11 Nov 23:22
036af69
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

[email protected]

10 Nov 19:58
f2fab98
Compare
Choose a tag to compare

Patch Changes

[email protected]

10 Nov 19:58
f2fab98
Compare
Choose a tag to compare

Patch Changes