Releases
v10.8.0
🚀 Features
🐞 Bug Fixes
Stricter types - by @antfu (a086e)
createReusableTemplate : Improve types - by @louiss0 , louiss0 , Anthony Fu and @antfu in #3641 (75168)
useAnimate : Immediate option set false not working - by @huiliangShen , banruo and Anthony Fu in #3763 (12c09)
useCloned : Correct return type - by @17359898647 in #3711 (e262f)
useCounter : Allow delta
to be negative - by @leewakin , @Doctor-wu and @antfu in #3650 (cf29c)
useDraggable : Avoid moving out of container - by @wangliangxin and wangliangxin3 in #3768 (55b94)
useElementVisiblity : Can configurable threshold - by @huiliangShen and @Doctor-wu in #3715 (ce9bb)
useFetch : Mark isFinished
, isFetching
readonly - by @baboon-king and @antfu in #3616 (31d4a)
useFetch : Remove unnecessary spread operator in iterable conversion - by @BlackCrowxyz in #3660 (f5587)
useFileSystemAccess : UpdateData on modified file - by @PhE in #3780 (668ca)
useGamepad : Explicitly ensure gamepad index is available - by @AntoninRousset and AntoninRousset in #3653 (8c735)
useGamepad : Improve data updating logic - by @okydk in #3775 (9b8ed)
useMounted : Hold the instance, close #3785 , close #3795 - by @antfu in #3785 and #3795 (2f66e)
useRafFn : Fix fpsLimit
option, fix #3481 , close #3482 - by @antfu in #3481 and #3482 (69990)
useResizeObserver : Do not watch deep to avoid cicular calls - by @birdxiao , birdxiao and @antfu in #3753 (48421)
useRouteParams,useRouteQuery : Set route param/query to undefined when null or defaultValue - by @mtdvlpr and @antfu in #3583 (c44fe)
useScroll : Add onError
hook and avoid throws by default, fix #3580 - by @steklopod , @antfu and Brendo Maciel in #3605 and #3580 (fab86)
useStorage : Ensure setting value to null syncs to other instances - by @callumacrae and @antfu in #3737 (f7ea1)
useUserMedia : Stop stream on scope dispose - by @Waleed-KH in #3757 (6d44d)
useWebSocket : Reset wsRef
on close, fix #3706 - by @a982246809 and @Doctor-wu in #3707 and #3706 (9a47a)
useWebSocket : immediate
should only be applied once, close #3676 - by @antfu in #3676 (93b96)
You can’t perform that action at this time.