Click in order · JavaScript and React course · Module 9: Modern React Hooks
useActionState Invocation
Arrange the correct syntax for calling useActionState:
Items to click
- const
- =
- useActionState(
- submitAction, initialState
- [state, formAction, isPending]
- );
You can check the correct answer by solving this task in the CodeWorlds game.