Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Add Initial Values | Formik
Expert React
course content

Kursinnehåll

Expert React

Expert React

1. React Key Concepts
2. React Router
3. Redux Toolkit
4. Formik
5. Jest
6. Next Steps

book
Challenge: Add Initial Values

Task

Initialize values for the input fields. Each input field should be assigned an initial value based on the value of the name prop. Follow the steps below:

Follow the steps:

  • Initialize the firstName field with an empty string.
  • Initialize the lastName field with an empty string.
  • Initialize the mail field with an empty string.

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 4. Kapitel 11
Vi beklagar att något gick fel. Vad hände?
some-alt