Skip to content

Commit 747d706

Browse files
chore(release): 20.0.0 [skip ci]
# [20.0.0](v19.2.0...v20.0.0) (2022-12-02) ### Bug Fixes * **useMediaQuery:** add option to martch media query on first render ([#1020](#1020)) ([087b2b1](087b2b1)), closes [#1000](#1000) ### BREAKING CHANGES * **useMediaQuery:** `useMediaQuery` and `useScreenOrientation` now returns matched media query state on first render by default, SSR users can change that behaviour via hook options.
1 parent 087b2b1 commit 747d706

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# [20.0.0](https://github.com/react-hookz/web/compare/v19.2.0...v20.0.0) (2022-12-02)
2+
3+
4+
### Bug Fixes
5+
6+
* **useMediaQuery:** add option to martch media query on first render ([#1020](https://github.com/react-hookz/web/issues/1020)) ([087b2b1](https://github.com/react-hookz/web/commit/087b2b1eb8db625f85f606a98b17077616dac968)), closes [#1000](https://github.com/react-hookz/web/issues/1000)
7+
8+
9+
### BREAKING CHANGES
10+
11+
* **useMediaQuery:** `useMediaQuery` and `useScreenOrientation` now returns matched media query state
12+
on first render by default, SSR users can change that behaviour via hook options.
13+
114
# [19.2.0](https://github.com/react-hookz/web/compare/v19.1.0...v19.2.0) (2022-11-20)
215

316

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-hookz/web",
3-
"version": "19.2.0",
3+
"version": "20.0.0",
44
"description": "React hooks done right, for browser and SSR.",
55
"keywords": [
66
"react",

0 commit comments

Comments
 (0)