Releases: jaredpalmer/formik
[email protected]
Patch Changes
- Updated dependencies [
4e515a4
]:
[email protected]
Patch Changes
- Updated dependencies [
50433fa
]:
[email protected]
Patch Changes
-
0ad41eb
#2903 Thanks @jaredpalmer! - Renamesunstable_StrictField
toFastField
and thus deprecates<FastField shouldUpdate>
prop. If you need this functionality, useuseFormikContext()
anduseField()
in a custom component wrapped inReact.memo()
instead. In addition, and this is breaking,FastField
is no longer passedform
object in any render prop.If you still need to access the
form
object in render useFormikConsumer
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]
Patch Changes
- Updated dependencies [
0ad41eb
]:
[email protected]
Patch Changes
-
ebad985
#2891 Thanks @jaredpalmer! - Remove low-priority validation implementation -
0dfa23b
#2889 Thanks @jaredpalmer! - Fixed botched typescript builds including scheduler types
[email protected]
[email protected]
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]
Patch Changes
- Updated dependencies [
6383b86
]:
[email protected]
Patch Changes
199e77a
#2882 Thanks @umidbekkarimov! - ValidatesetFieldTouched
with high priority
[email protected]
Patch Changes
-
199e77a
#2882 Thanks @umidbekkarimov! - ValidatesetFieldTouched
with high priority -
Updated dependencies [
199e77a
]: