Skip to content

Commit 9556384

Browse files
committed
add React19 support via peerDeps + bump packages
also resolves a few vulnerabilities that were popping up in scans
1 parent 0322ef6 commit 9556384

File tree

4 files changed

+1340
-3791
lines changed

4 files changed

+1340
-3791
lines changed

.babelrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"presets": [
33
"@babel/preset-env"
4-
54
]
65
}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ npm install -D use-viewport-sizes
1919
- debouncing does not create new handlers or waste re-renders in your component; the results are also pooled from only one resize result.
2020
- optional hash function to update component subtree only at points you would like to.
2121
- supports lazy loaded components and SSR out of the box.
22+
- compatible with React v16 | v17 | v18 | v19
2223

2324

2425
## Usage ##

0 commit comments

Comments
 (0)