Work only <Formik children/>
as ReactNode
. If you use <Formik component/>
or <Formik children/>
as function, formik run re-render after any change filed.
Formik - https://codesandbox.io/s/formik-rerender-test-v8gw7x
Formik2nd - https://codesandbox.io/s/formik2nd-rerender-test-forked-mlwvqr
New hook useFormikSelector
FormikState
used to be included in FormikProps. Now FormikState is in the state
properties of FormikProps
.
Difference between FastField
and Field
, FastField
is only re-render after formik state change by its name.
Because now Formik without FormikProvider don't work.
ErrorMessage, Field, FieldArray, Formik.
##Forked from jaredpalmer/formik
- TSDX - Zero-config CLI for TypeScript used by this repo. (Formik's Rollup configuration as a CLI)