Skip to content

Commit

Permalink
@trigger.dev/react-hooks now works with React 19 (#1559)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericallam authored Dec 13, 2024
1 parent 6b355ab commit 7077dbf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/fuzzy-coins-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@trigger.dev/react-hooks": patch
---

Now compatible with React 19
6 changes: 3 additions & 3 deletions packages/react-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -74,4 +74,4 @@
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts",
"module": "./dist/esm/index.js"
}
}
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7077dbf

Please sign in to comment.