Question · JavaScript and React course · Module 9: Modern React Hooks
useFormStatus Hook
Where must the useFormStatus hook be used to correctly read the form state?
Answer options
- In any component of the application
- In a child component of the <form> element
- Only in Server Components
- Directly in the form's action attribute
You can check the correct answer by solving this task in the CodeWorlds game.