Skip to content

Latest commit

 

History

History
10 lines (5 loc) · 475 Bytes

README.md

File metadata and controls

10 lines (5 loc) · 475 Bytes

1 - useActionState React -19 version

The useActionState hook in React 19 returns an array with exactly two items: The current state of the form, which is initially set to the initial state you provided, and after the form is submitted

To run give username as 'user' and password 'pass'

by using the useActionState we can get the form status action even from other components

uastate