github react-hookz/web v13.0.0

latest releases: v14.3.0, v14.2.3, v14.2.2...
2 years ago

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.

Don't miss a new web release

NewReleases is sending notifications on new releases.