@trigger.dev/react-hooks now works with React 19 (#1559)

This commit is contained in:
Eric Allam
2024-12-13 13:31:47 +00:00
committed by GitHub
parent 6b355ab9ad
commit 7077dbf65e
3 changed files with 10 additions and 5 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@trigger.dev/react-hooks": patch
---
Now compatible with React 19
+3 -3
View File
@@ -51,8 +51,8 @@
"typescript": "^5.5.4"
},
"peerDependencies": {
"react": ">=18 || >=19.0.0-beta",
"react-dom": ">=18 || >=19.0.0-beta"
"react": "^18.0 || ^19.0 || ^19.0.0-rc",
"react-dom": "^18.0 || ^19.0 || ^19.0.0-rc"
},
"engines": {
"node": ">=18.20.0"
@@ -74,4 +74,4 @@
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts",
"module": "./dist/esm/index.js"
}
}
+2 -2
View File
@@ -1393,10 +1393,10 @@ importers:
specifier: workspace:^3.3.6
version: link:../core
react:
specifier: '>=18 || >=19.0.0-beta'
specifier: ^18.0 || ^19.0 || ^19.0.0-rc
version: 18.3.1
react-dom:
specifier: '>=18 || >=19.0.0-beta'
specifier: ^18.0 || ^19.0 || ^19.0.0-rc
version: 18.2.0(react@18.3.1)
swr:
specifier: ^2.2.5