Files
Hendrik LiebauandGitHub dbfb6c49b1 [test] Add failing test for useActionState with 'use cache' (#86292)
Adds a test case demonstrating that `useActionState` doesn't work correctly when the `'use cache'` function is exported separately, due to wrong function arity information in the server reference information byte. This is currently a limitation of the Next.js compiler, which will be addressed in a future PR.

Also cleans up `console.log` from the existing `useActionState` test.
2025-11-19 15:45:36 +01:00

6 lines
84 B
TypeScript

import { Form } from './form'
export default function Page() {
return <Form />
}