rsnext/test/development/acceptance-app
Andrew Clark 0bfd4801e4
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>
2023-09-16 16:53:51 +00:00
..
__snapshots__ refactor tests for readability (#51051) 2023-06-21 19:47:21 +00:00
fixtures Updates Mozilla links to not include language preference (#55326) 2023-09-13 11:06:29 -05:00
app-hmr-changes.test.ts fix app-hmr-changes.test.ts by updating next-tweet (#52046) 2023-06-30 23:09:09 +00:00
component-stack.test.ts refactor tests for readability (#51051) 2023-06-21 19:47:21 +00:00
dynamic-error.test.ts Add docs page for uncaught DynamicServerErrors (#53402) 2023-08-08 12:49:53 +02:00
editor-links.test.ts refactor tests for readability (#51051) 2023-06-21 19:47:21 +00:00
error-message-url.test.ts refactor tests for readability (#51051) 2023-06-21 19:47:21 +00:00
error-recovery.test.ts remove --turbo, use --experimental-turbo as --turbo (#55063) 2023-09-06 17:46:54 +00:00
hydration-error.test.ts add hydration error testcase when using useId() in a client component (#53223) 2023-07-26 18:46:42 +00:00
invalid-imports.test.ts refactor tests for readability (#51051) 2023-06-21 19:47:21 +00:00
ReactRefresh.test.ts refactor tests for readability (#51051) 2023-06-21 19:47:21 +00:00
ReactRefreshLogBox-builtins.test.ts remove --turbo, use --experimental-turbo as --turbo (#55063) 2023-09-06 17:46:54 +00:00
ReactRefreshLogBox-scss.test.ts refactor tests for readability (#51051) 2023-06-21 19:47:21 +00:00
ReactRefreshLogBox.test.ts remove --turbo, use --experimental-turbo as --turbo (#55063) 2023-09-06 17:46:54 +00:00
ReactRefreshLogBoxMisc.test.ts refactor tests for readability (#51051) 2023-06-21 19:47:21 +00:00
ReactRefreshModule.test.ts refactor tests for readability (#51051) 2023-06-21 19:47:21 +00:00
ReactRefreshRegression.test.ts chore: remove experimental appDir: true from tests (#52291) 2023-07-05 19:17:29 -07:00
ReactRefreshRequire.test.ts refactor tests for readability (#51051) 2023-06-21 19:47:21 +00:00
rsc-build-errors.test.ts improve error DX on pages with RSC build errors (#52843) 2023-07-20 00:32:57 +00:00
server-components.test.ts Restrict useFormState in Server Components (#55417) 2023-09-16 16:53:51 +00:00
version-staleness.test.ts refactor tests for readability (#51051) 2023-06-21 19:47:21 +00:00