40. Adding Server-Side Input Validation

58 подписчиков

12+
12+

1 просмотр

7 месяцев назад

ПожаловатьсяНарушение авторских прав

58 подписчиков

12+
12+

1 просмотр

7 месяцев назад

ПожаловатьсяНарушение авторских прав
12+
12+

1 просмотр

7 месяцев назад

03. NextJS Essentials (App Router) 41. Using useFormState() In the next lecture, we'll use a React DOM Hook called useFormState. For some unknown reason, the React team decided to suddenly change this Hook's name to useActionState. In addition, it now must be imported from react instead of react-dom. So when I write this code in the next lecture import { useFormState } from 'react-dom'; you should write this code (and then use useActionState() instead of useFormState() in any other place where I use it): import { useActionState } from 'react';

, чтобы оставлять комментарии