From 61455e6a848b7f44c52447fc5fea9893891ad9bb Mon Sep 17 00:00:00 2001 From: lerte smith Date: Sat, 1 Jun 2024 01:22:40 +0800 Subject: [PATCH] react 19 --- apps/docs/src/components/OpenInCodeSandbox.tsx | 4 ++-- apps/docs/src/components/OpenInStackblitz.tsx | 4 ++-- packages/actify/package.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/docs/src/components/OpenInCodeSandbox.tsx b/apps/docs/src/components/OpenInCodeSandbox.tsx index cdea2b0..96393cc 100644 --- a/apps/docs/src/components/OpenInCodeSandbox.tsx +++ b/apps/docs/src/components/OpenInCodeSandbox.tsx @@ -21,8 +21,8 @@ const OpenInCodeSandbox = ({ title, code }: OpenInCodeSandboxProps) => { }, dependencies: { [name]: `^${version}`, - react: '^18.2.0', - 'react-dom': '^18.2.0' + react: 'rc', + 'react-dom': 'rc' }, devDependencies: { '@vitejs/plugin-react': '^1.3.0', diff --git a/apps/docs/src/components/OpenInStackblitz.tsx b/apps/docs/src/components/OpenInStackblitz.tsx index cceb4c5..bc4a7db 100644 --- a/apps/docs/src/components/OpenInStackblitz.tsx +++ b/apps/docs/src/components/OpenInStackblitz.tsx @@ -45,8 +45,8 @@ ReactDOM.createRoot(document.getElementById('root')).render( }, "dependencies": { "${name}": "^${version}", - "react": "^18.2.0", - "react-dom": "^18.2.0" + react: 'rc', + 'react-dom': 'rc' }, "devDependencies": { "@vitejs/plugin-react": "^1.3.0", diff --git a/packages/actify/package.json b/packages/actify/package.json index cf891c1..93569bf 100644 --- a/packages/actify/package.json +++ b/packages/actify/package.json @@ -62,8 +62,8 @@ "popmotion": "^11.0.5" }, "peerDependencies": { - "react": ">=19", - "react-dom": ">=19" + "react": "^19", + "react-dom": "^19" }, "main": "dist/index.cjs", "module": "dist/index.js",