I'm composing a TextInput component with handleTextInput(). I'd like to use the useFormik() hook to control form state, rather than a Formik wrapper component.
When rendering my composed component outside of a Formik component, the following error occurs:
I'm composing a
TextInput
component withhandleTextInput()
. I'd like to use theuseFormik()
hook to control form state, rather than aFormik
wrapper component.When rendering my composed component outside of a
Formik
component, the following error occurs: