Skip to content

Commit

Permalink
chore(release): 13.0.0 [skip ci]
Browse files Browse the repository at this point in the history
# [13.0.0](v12.3.0...v13.0.0) (2022-02-25)

### Features

* **`useMediaQuery`:** add synchronous mql state fetch ([0e0be56](0e0be56))
* implement new hook - `useScreenOrientation` ([107cc21](107cc21))

### BREAKING CHANGES

* **`useMediaQuery`:** `useMediaQuery` now does synchronous fetch, this means
that in browser it will return final state on first render, while SSR
mode still return `undefined`.
SSR users should set second parameter of this hook to `true`, to
postpone state fetch until effects phase.
  • Loading branch information
semantic-release-bot committed Feb 25, 2022
1 parent 0e0be56 commit d69e406
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# [13.0.0](https://github.com/react-hookz/web/compare/v12.3.0...v13.0.0) (2022-02-25)


### Features

* **`useMediaQuery`:** add synchronous mql state fetch ([0e0be56](https://github.com/react-hookz/web/commit/0e0be5626bbe3ab0815e25f9aef49dbb1be681b1))
* implement new hook - `useScreenOrientation` ([107cc21](https://github.com/react-hookz/web/commit/107cc2116f09d44757495d688f41eeb5cad11760))


### BREAKING CHANGES

* **`useMediaQuery`:** `useMediaQuery` now does synchronous fetch, this means
that in browser it will return final state on first render, while SSR
mode still return `undefined`.
SSR users should set second parameter of this hook to `true`, to
postpone state fetch until effects phase.

# [12.3.0](https://github.com/react-hookz/web/compare/v12.2.0...v12.3.0) (2022-01-17)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-hookz/web",
"version": "12.3.0",
"version": "13.0.0",
"description": "React hooks done right, for browser and SSR.",
"keywords": [
"react",
Expand Down

0 comments on commit d69e406

Please sign in to comment.