vaakian
vaakian
- 固件版本(必填):v1.0.2 - 是否使用服务器(必填): 使用mqtt - 问题描述(包含复现issue方式): 不知为何,mqtt服务器上过一段时间会出现invalid message, 然后需要重启mqtt服务, **并手动断电重启tc1排插** (就是重新连接mqtt服务器,固件貌似不会自动重连)方能解决问题。 所以希望大佬能加上自动重连功能,辛苦了!
### Description **Unexpected mutation** to a `ref` that returned from some `composables` should be prevented, same as **props** in **Vue**. for example: ```ts const { height, width } = useElementBounding(...)...
### Description **1. Fixed two cases:** - On window `resize`(as shown in the video). - On element itself `resize`, when element's `height` / `width` changes, it may become invisible. **2....
### Description Since a `ref` in vue2 can't be extensible, but we could return the `trigger` separately. It's off by default for not breaking previous usage, set the third parameter...
### Description Allow `useEventListener` to accept array of `events` or `listeners` so that we could: - add `multiple listeners` to a `single event` - add a `single listener` to `multiple...
### Description Add custom [`contextMenu`](https://developer.mozilla.org/en-US/docs/Web/API/Element/contextmenu_event) to an Element. #### this PR depends on 2 changes: * https://github.com/vueuse/vueuse/pull/2143 * https://github.com/vueuse/vueuse/pull/2161 https://user-images.githubusercontent.com/30516060/187668848-80200739-b3ce-4430-bc95-c930236816f7.mov ### Additional context I closed the [previous PR](https://github.com/vueuse/vueuse/pull/2136) because the...
closes #56
I've noticed that all the custom web-components are extending `HTMLElement`, so we should treat them as well as `HTMLElement` when passing props(native events, attributes and more...), NOT just limited in`componentBaseInterface`....
I want to get data from cache synchronously if cache hits, so as to reduce an extra event loop. But it's seems the `cache.get` method is always returning a promise....
[[中文版模板 / Chinese template](https://github.com/alibaba/hooks/blob/master/.github/PULL_REQUEST_TEMPLATE/pr_cn.md)] ### 🤔 This is a ... - [x] New feature - [ ] Bug fix - [ ] Site / documentation update - [ ] Demo...