Skip to content

v13.0.0

Compare
Choose a tag to compare
@xobotyi xobotyi released this 25 Feb 16:01
· 765 commits to master since this release

13.0.0 (2022-02-25)

Features

  • useMediaQuery: add synchronous mql state fetch (0e0be56)
  • implement new hook - useScreenOrientation (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.