diff --git a/bun.lockb b/bun.lockb
index b200c559..f46e5d82 100755
Binary files a/bun.lockb and b/bun.lockb differ
diff --git a/examples/nextjs/app/RandomData/client.tsx b/examples/nextjs/app/RandomData/client.tsx
index 14068626..7cb08373 100644
--- a/examples/nextjs/app/RandomData/client.tsx
+++ b/examples/nextjs/app/RandomData/client.tsx
@@ -1,11 +1,11 @@
"use client";
-import { useFormState } from 'react-dom'
import type { Entries } from 'type-fest';
import { type IMember, randomOnServer } from './actions';
+import { useActionState } from "react";
export default function RandomDataClient({ initialData }: { initialData: IMember }) {
- const [state, formAction] = useFormState(randomOnServer, initialData);
+ const [state, formAction] = useActionState(randomOnServer, initialData);
return (
diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json
index dfc555aa..bd8cd92a 100644
--- a/examples/nextjs/package.json
+++ b/examples/nextjs/package.json
@@ -3,25 +3,29 @@
"version": "0.1.0",
"private": true,
"scripts": {
- "dev": "bun -b next dev",
+ "dev": "bun -b next dev --turbopack",
"build": "bun -b next build",
"start": "bun -b next start",
"prepare": "ts-patch install && typia patch"
},
"dependencies": {
- "next": "14.2.3",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "next": "15.1.4",
+ "react": "19.0.0",
+ "react-dom": "19.0.0"
},
"devDependencies": {
"@ryoppippi/unplugin-typia": "workspace:*",
"@types/node": "^20.17.9",
- "@types/react": "^18.3.12",
- "@types/react-dom": "^18.3.1",
+ "@types/react": "19.0.4",
+ "@types/react-dom": "19.0.2",
"ts-patch": "^3.2.1",
"tslib": "^2.8.1",
"type-fest": "^4.30.0",
"typescript": "~5.7.2",
"typia": "^7.0.1"
+ },
+ "overrides": {
+ "@types/react": "19.0.4",
+ "@types/react-dom": "19.0.2"
}
}