formik icon indicating copy to clipboard operation
formik copied to clipboard

Changing a field does not rerenders other fields

Open DjoSmer opened this issue 2 years ago • 1 comments

Hi. If a field change then all fields and component use useFormikCotext rerenders. It see to example https://codesandbox.io/s/formik-rerender-test-v8gw7x. It is not really good.

After my change: https://user-images.githubusercontent.com/8194467/183079431-5629cb92-caf2-43d5-90df-94b66968c90a.mov

I wanted do Formik like React.Component and useFormik functions moved to Formik. Example here is https://github.com/DjoSmer/react-form-context-example/blob/master/src/features/profile/components/PersonalNames/FormControl.tsx.

Sorry for my english.

DjoSmer avatar Aug 05 '22 13:08 DjoSmer

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
formik-docs ❌ Failed (Inspect) Aug 5, 2022 at 1:12PM (UTC)

vercel[bot] avatar Aug 05 '22 13:08 vercel[bot]