React 19
React 19
Here are the new additions that comes with this latest
update:
useFormState ( )
useFormStatus ( )
useActionState ( )
useOptimistic ( )
use ( )
With use():
Async calls are handled directly in the component
body, reducing the need for useEffect and additional
state variables.