next.js
0bfd4801 - Restrict useFormState in Server Components (#55417)

Commit
2 years ago
Restrict useFormState in Server Components (#55417) I based my changes on #49331, which did this for useFormStatus. While I was editing the file, I noticed that useOptimistic was incorrectly categorized as a `react-dom` package export, but it's actually exported from `react`. So I fixed that, too. Co-authored-by: Zack Tanner <1939140+ztanner@users.noreply.github.com>
Author
Parents
Loading