Loading...
Loading...
The previous useActionState state, round-tripped from the client. None on the first render (or when the action is called imperatively without a prior state). A PrevState<T> parameter is how an action opts into React's (prevState, formData) => newState contract. The wrapped value is untrusted client input - never use it as authorization state.