Skip to content

v1.2.3

Choose a tag to compare

@github-actions github-actions released this 24 Sep 16:50
266dfac

Overview

🔧 Bug Fixes

  • useBreakpoints: breakpoint flags follow the matched name (#1003)
  • useBreakpoints: resize updates run without the plugin (#1004)

Other Commits

  • useStorage no longer throws when the browser refuses localStorage; it falls back to memory and reads tolerate a throwing adapter. (#1001)

Patch Changes

  • #1003 6426af3 Thanks @johnleider! - fix(useBreakpoints): breakpoint flags follow the matched name

    sm is the sm threshold, including when a custom map is not in ascending order. name and the boolean flags stay in agreement. Default thresholds are unchanged.

  • #1004 675e097 Thanks @johnleider! - fix(useBreakpoints): resize updates run without the plugin

    createBreakpoints() follows viewport changes on its own. With ssr set, that listener waits for the first update(), so the server width stays in place until hydration. The plugin still calls update() once after mount in that case.

  • #1001 bbc0ac0 Thanks @johnleider! - useStorage no longer throws when the browser refuses localStorage; it falls back to memory and reads tolerate a throwing adapter.