Skip to content

Commit

Permalink
chore: React 19 (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
franky47 authored Dec 7, 2024
1 parent 5f56860 commit 0068f4b
Show file tree
Hide file tree
Showing 9 changed files with 609 additions and 606 deletions.
8 changes: 4 additions & 4 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"next": "15.0.3",
"nuqs": "workspace:*",
"pretty-bytes": "^6.1.1",
"react": "catalog:react19rc",
"react-dom": "catalog:react19rc",
"react": "catalog:react19",
"react-dom": "catalog:react19",
"recharts": "^2.13.3",
"remark-smartypants": "^3.0.2",
"res": "workspace:*",
Expand All @@ -62,8 +62,8 @@
"devDependencies": {
"@shikijs/transformers": "^1.22.2",
"@types/mdx": "^2.0.13",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react": "catalog:react19",
"@types/react-dom": "catalog:react19",
"@types/semver": "^7.5.8",
"autoprefixer": "^10.4.20",
"hast-util-to-jsx-runtime": "^2.3.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function Client() {
)
const router = useRouter()

const timeoutRef = React.useRef<number>()
const timeoutRef = React.useRef<number | undefined>(undefined)
const [index, setIndex] = React.useState(0)

React.useEffect(() => {
Expand Down
8 changes: 4 additions & 4 deletions packages/e2e/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"dependencies": {
"next": "15.0.3",
"nuqs": "workspace:*",
"react": "catalog:react19rc",
"react-dom": "catalog:react19rc"
"react": "catalog:react19",
"react-dom": "catalog:react19"
},
"devDependencies": {
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react": "catalog:react19",
"@types/react-dom": "catalog:react19",
"@types/semver": "^7.5.8",
"@types/webpack": "^5.28.5",
"babel-plugin-react-compiler": "19.0.0-beta-a7bf2bd-20241110",
Expand Down
8 changes: 4 additions & 4 deletions packages/e2e/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
},
"dependencies": {
"nuqs": "workspace:*",
"react": "catalog:react19rc",
"react-dom": "catalog:react19rc",
"react": "catalog:react19",
"react-dom": "catalog:react19",
"react-router-dom": "^6.28.0"
},
"devDependencies": {
Expand All @@ -23,8 +23,8 @@
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react": "catalog:react19",
"@types/react-dom": "catalog:react19",
"@vitejs/plugin-react": "^4.3.3",
"globals": "^15.12.0",
"jsdom": "^25.0.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/e2e/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
},
"dependencies": {
"nuqs": "workspace:*",
"react": "catalog:react19rc",
"react-dom": "catalog:react19rc"
"react": "catalog:react19",
"react-dom": "catalog:react19"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react": "catalog:react19",
"@types/react-dom": "catalog:react19",
"@vitejs/plugin-react": "^4.3.3",
"globals": "^15.12.0",
"jsdom": "^25.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/e2e/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
},
"devDependencies": {
"@remix-run/dev": "^2.14.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react": "catalog:react19",
"@types/react-dom": "catalog:react19",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"autoprefixer": "^10.4.20",
Expand Down
8 changes: 4 additions & 4 deletions packages/nuqs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react": "catalog:react19",
"@types/react-dom": "catalog:react19",
"@vitejs/plugin-react": "^4.3.3",
"next": "15.0.3",
"react": "catalog:react19rc",
"react-dom": "catalog:react19rc",
"react": "catalog:react19",
"react-dom": "catalog:react19",
"react-router-dom": "^6.28.0",
"size-limit": "^11.1.6",
"tsafe": "^1.8.4",
Expand Down
Loading

0 comments on commit 0068f4b

Please sign in to comment.