Question · JavaScript and React course · Module 9: Modern React Hooks
useActionState Parameters
What three values does the useActionState hook return?
Answer options
- data, error, isLoading
- state, formAction, isPending
- result, dispatch, status
- value, setValue, pending
You can check the correct answer by solving this task in the CodeWorlds game.