Improve react peer deps (#622)
* ensure react-dom is also a peer dependency Co-authored-by: =?UTF-8?q?S=C3=A9bastien=20Vanvelthem?= <belgattitude@gmail.com> * prepare peer dependencies for React 18 * update changelog Co-authored-by: =?UTF-8?q?S=C3=A9bastien=20Vanvelthem?= <belgattitude@gmail.com>
This commit is contained in:
@@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Improve types for `Listbox` component ([#576](https://github.com/tailwindlabs/headlessui/pull/576))
|
||||
- Remove explicit `:class` prop ([#608](https://github.com/tailwindlabs/headlessui/pull/608))
|
||||
- Improve tree shaking ([#602](https://github.com/tailwindlabs/headlessui/pull/602))
|
||||
- Improve peer dependencies for `react-dom`, and for the future version `18` ([#622](https://github.com/tailwindlabs/headlessui/pull/622))
|
||||
|
||||
## [Unreleased - Vue]
|
||||
|
||||
|
||||
@@ -31,7 +31,8 @@
|
||||
"lint": "../../scripts/lint.sh"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16 || ^17"
|
||||
"react": "^16 || ^17 || ^18",
|
||||
"react-dom": "^16 || ^17 || ^18"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^16.14.2",
|
||||
|
||||
Reference in New Issue
Block a user