Quiz: Test on Managing the Form State
Test yourself on how to manage a React form state with this quiz.
1
What argument should be passed to the useFormik
hook to initialize form values, handle changes to form values, and handle form submissions?
A)
An object with initialValues
and onSubmit
properties.
B)
An object with initialValues
, onChange
, and onSubmit
properties.
C)
An object with values
, handleChange
, and handleSubmit
properties.
D)
An array with values
, setValues
, and submitForm
elements.
Question 1 of 50 attempted
Get hands-on with 1400+ tech skills courses.