Skip to content

Commit

Permalink
for react 19
Browse files Browse the repository at this point in the history
  • Loading branch information
lerte committed Dec 6, 2024
1 parent 18c33e2 commit 304bd69
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions apps/docs/src/components/OpenInCodeSandbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ const OpenInCodeSandbox = ({ title, code }: OpenInCodeSandboxProps) => {
},
dependencies: {
actify: `^${packageInfo.version}`,
react: 'rc',
'react-dom': 'rc'
react: '^19.0.0',
'react-dom': '^19.0.0'
},
devDependencies: {
'@eslint/js': '^9.13.0',
'@vitejs/plugin-react': '^4.3.3',
'@types/react': '^19.0.0',
'@types/react-dom': '^19.0.0',
autoprefixer: '^10.4.20',
eslint: '^9.13.0',
'eslint-plugin-react-hooks': '^5.0.0',
Expand Down
10 changes: 5 additions & 5 deletions apps/docs/src/components/OpenInStackblitz.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ createRoot(document.getElementById("root")!).render(
},
"dependencies": {
"actify": "^${packageInfo.version}",
"react": "rc",
"react-dom": "rc"
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"eslint": "^9.13.0",
Expand All @@ -89,7 +89,7 @@ createRoot(document.getElementById("root")!).render(
"tailwindcss": "latest",
"typescript": "~5.6.2",
"typescript-eslint": "^8.11.0",
"vite": "^5.4.10"
"vite": "latest"
}
}`,
'src/main.css': `@tailwind base;
Expand Down

0 comments on commit 304bd69

Please sign in to comment.