` component which emits startGame_\r\n\r\nHere is the code:\r\n```\r\n\u003Ctemplate>\r\n \u003CModal @startGame=\"startGame\" />\r\n\u003C/template>\r\n\r\n\u003Cscript>\r\nimport { useSound } from '@vueuse/sound'\r\nimport bgAudio from '@/assets/audio/stranger-things.mp3'\r\n\r\nexport default {\r\n setup() {\r\n const { play } = useSound(bgAudio)\r\n\r\n const startGame = () => {\r\n /* other codes here */\r\n play()\r\n }\r\n return {\r\n startGame\r\n }\r\n }\r\n}\r\n\u003C/script>\r\n```\r\n",[],"vueuse","sound","open","TypeError: Cannot read properties of undefined (reading 'version')","2022-11-25T02:10:33Z","https://github.com/vueuse/sound/issues/17",0.6390714,{"description":3179,"labels":3180,"number":3184,"owner":3171,"repository":3171,"state":3173,"title":3185,"updated_at":3186,"url":3187,"score":3188},"### Clear and concise description of the problem\n\nI'm using `computedAsync` with the `evaluating` flag to show a visual indicator. When the dependencies of the is async function change, the indicator blinks as the `evaluating` ref gets set to `false` then back to `true` in quick succession.\r\n\r\nIt is not possible in the API surface to detect whether the `evaluating` flag was set as a result of evaluation actually finishing or the previous attempt being canceled for a new attempt.\n\n### Suggested solution\n\nModify the `evaluating` flag to change the value to not blink when canceling an evaluation\n\n### Alternative\n\n1. Wrap the `evaluating` flag in a `refDebounced` to prevent undesirable brief changes\r\n3. Add a new options, parallel to the `evaluating` argument, that tells whether this ref has an in-progress computation.\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://github.com/vueuse/vueuse/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/vueuse/vueuse/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://vueuse.org/guide).\n- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.",[3181],{"name":3182,"color":3183},"enhancement","a2eeef",3668,"Need a way to watch computedAsync that doesn't bounce","2025-01-24T13:05:47Z","https://github.com/vueuse/vueuse/issues/3668",0.6526327,{"description":3190,"labels":3191,"number":3192,"owner":3171,"repository":3193,"state":3173,"title":3194,"updated_at":3195,"url":3196,"score":3197},"Here's the repro repo: https://github.com/Justineo/nuxt-vue-demi-vue-echarts-repro\r\n\r\nI upgraded to `vue-demi@0.11.2` for `vue-echarts@6.0.0` and it seems to be broken in Nuxt apps with the following runtime error:\r\n\r\n\r\n\r\n. After downgrading to `vue-demi@0.10.1` it works correctly. Is there any change that may cause this issue?",[],90,"vue-demi","Error after upgrading to v0.11 in Nuxt apps","2021-08-05T13:11:17Z","https://github.com/vueuse/vue-demi/issues/90",0.7001,{"description":3199,"labels":3200,"number":3201,"owner":3171,"repository":3193,"state":3173,"title":3202,"updated_at":3203,"url":3204,"score":3205},"Hello, I'm trying to create a Vite Library with Vue-Demi to work in Nuxt 2 and Nuxt 3.\r\n\r\nI guess I'm missing something. I've seen a lot of examples but I don't know what I'm doing wrong.\r\n\r\n[Here is the repo with the examples and errors.](https://github.com/priverop/vue-demi-vite-with-nuxt)\r\n\r\nAfter running `yarn install && yarn dev` in both the **lib-consumer** projects it works fine in Nuxt 2 but it doesn't work in Nuxt 3.\r\n\r\nnuxt.config.ts\r\n```typescript\r\nexport default defineNuxtConfig({\r\n build: {\r\n transpile: ['@prp-astara/vite-test-lib'],\r\n },\r\n})\r\n```\r\n\r\n```bash\r\n[Vue warn]: Property \"_self\" was accessed during render but is not defined on instance. 13:18:50\r\n[Vue warn]: Unhandled error during execution of render function 13:18:50\r\n at \u003CAnonymous>\r\n[nitro] [dev] [unhandledRejection] TypeError: Cannot read properties of undefined (reading '_c') 13:18:50\r\n at Proxy.$ (/vue-demi-vite-with-nuxt/nuxt3-lib-consumer/node_modules/@prp-astara/vite-test-lib/dist/vite-test-lib.umd.js:1:1163)\r\n at renderComponentRoot (/vue-demi-vite-with-nuxt/nuxt3-lib-consumer/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:906:44) 13:18:41\r\n at renderComponentSubTree (/vue-demi-vite-with-nuxt/nuxt3-lib-consumer/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:719:51)\r\n at renderComponentVNode (/vue-demi-vite-with-nuxt/nuxt3-lib-consumer/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:644:16)\r\n at Module.ssrRenderComponent (/vue-demi-vite-with-nuxt/nuxt3-lib-consumer/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:94:12)\r\n at _sfc_ssrRender (/vue-demi-vite-with-nuxt/nuxt3-lib-consumer/app.vue:23:31)\r\n at renderComponentSubTree (/vue-demi-vite-with-nuxt/nuxt3-lib-consumer/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:710:17)\r\n at renderComponentVNode (/vue-demi-vite-with-nuxt/nuxt3-lib-consumer/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:644:16)\r\n at Module.ssrRenderComponent (/vue-demi-vite-with-nuxt/nuxt3-lib-consumer/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:94:12)\r\n at default (/vue-demi-vite-with-nuxt/nuxt3-lib-consumer/node_modules/nuxt/dist/app/components/nuxt-root.vue:63:37)\r\n```\r\n\r\nThis is the exact issue I had when you try to get Vue 2 working in Nuxt 3.\r\n\r\nThank you",[],212,"Can't get it working with Vite in Nuxt 3","2023-02-08T16:29:10Z","https://github.com/vueuse/vue-demi/issues/212",0.7178493,{"description":3207,"labels":3208,"number":3209,"owner":3171,"repository":3193,"state":3210,"title":3211,"updated_at":3212,"url":3213,"score":3214},"I updated nodejs to 16.0 and then re-installed the dependency packages and the project won't open\r\nvue2 + pinia\r\n\r\n",[],202,"closed","Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'warn')","2023-04-18T15:55:13Z","https://github.com/vueuse/vue-demi/issues/202",0.67315286,{"description":3216,"labels":3217,"number":3218,"owner":3171,"repository":3171,"state":3210,"title":3219,"updated_at":3220,"url":3221,"score":3222},"### Describe the bug\r\n\r\nUpon integrating `UseRouteQuery` into a Nuxt3 RC-4 environment, it seems to have troubles with the router in a nuxt context.\r\n\r\n---\r\n\r\n- Reproduction Error: `@vueuse_router.js?v=420e7af4:343 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'replace')\r\n---\r\n- Reproduction Warn: `[Vue warn]: injection \"Symbol([vue-router]: route location)\" not found. \r\n at \u003CIndex onVnodeUnmounted=fn\u003ConVnodeUnmounted> ref=Ref\u003C undefined > key=\"/\" > \r\n at \u003CBaseTransition mode=\"out-in\" appear=false persisted=false ... > \r\n at \u003CTransition name=\"page\" mode=\"out-in\" > \r\n at \u003CRouterView name=undefined route=undefined > \r\n at \u003CNuxtPage> \r\n at \u003CApp key=1 > \r\n at \u003CNuxtRoot>`\r\n at @vueuse_router.js?v=420e7af4:343:15`\r\n---\r\n- Bigger Project Error: `TypeError: Cannot read properties of undefined (reading 'query')\r\n at ReactiveEffect.get [as fn] (http://localhost:3000/_nuxt/node_modules/.vite/deps/@vueuse_router.js?v=df217a4e:54:26)\r\n at ReactiveEffect.run (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:384:19)\r\n at get value [as value] (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:1206:35)\r\n at ReactiveEffect.fn (http://localhost:3000/_nuxt/pages/search.vue:35:38)\r\n at ReactiveEffect.run (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:384:19)\r\n at get value [as value] (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:1206:35)\r\n at ReactiveEffect.fn (http://localhost:3000/_nuxt/pages/search.vue:62:26)\r\n at ReactiveEffect.run (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:384:19)\r\n at get value [as value] (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:1206:35)\r\n at setup (http://localhost:3000/_nuxt/pages/search.vue:71:58)\r\n at callWithErrorHandling (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:1365:18)\r\n at setupStatefulComponent (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:6646:25)\r\n at setupComponent (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:6609:36)\r\n at mountComponent (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5434:7)\r\n at hydrateNode (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:4852:11)\r\n at Object.hydrateSuspense [as hydrate] (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:2392:18)\r\n at hydrateNode (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:4875:33)\r\n at hydrateSubTree (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5502:13)\r\n at ReactiveEffect.componentUpdateFn [as fn] (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5510:13)\r\n at ReactiveEffect.run (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:384:19)\r\n at instance.update (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5600:52)\r\n at setupRenderEffect (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5608:5)\r\n at mountComponent (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5447:5)\r\n at hydrateNode (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:4852:11)\r\n at hydrateSubTree (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5502:13)\r\n at ReactiveEffect.componentUpdateFn [as fn] (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5510:13)\r\n at ReactiveEffect.run (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:384:19)\r\n at instance.update (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5600:52)\r\n at setupRenderEffect (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5608:5)\r\n at mountComponent (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5447:5)\r\n at hydrateNode (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:4852:11)\r\n at hydrateSubTree (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5502:13)\r\n at ReactiveEffect.componentUpdateFn [as fn] (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5510:13)\r\n at ReactiveEffect.run (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:384:19)\r\n at instance.update (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5600:52)\r\n at setupRenderEffect (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5608:5)\r\n at mountComponent (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5447:5)\r\n at hydrateNode (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:4852:11)\r\n at hydrateSubTree (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5502:13)\r\n at ReactiveEffect.componentUpdateFn [as fn] (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5510:13)\r\n at ReactiveEffect.run (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:384:19)\r\n at instance.update (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5600:52)\r\n at setupRenderEffect (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5608:5)\r\n at mountComponent (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:5447:5)\r\n at hydrateNode (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:4852:11)\r\n at hydrateChildren (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:4950:16)\r\n at hydrateFragment (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:4970:18)\r\n at hydrateNode (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:4839:22)\r\n at hydrateChildren (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:4950:16)\r\n at hydrateElement (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-LHPAYQQS.js?v=df217a4e:4918:20)`\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/nuxt-starter-ddby4o?file=pages/index.vue\r\n\r\n### System Info\r\n\r\n```Shell\r\nSystem:\r\n OS: macOS 12.4\r\n CPU: (12) x64 Intel(R) Core(TM) i5-10500 CPU @ 3.10GHz\r\n Memory: 5.65 GB / 32.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 17.5.0 - ~/.nvm/versions/node/v17.5.0/bin/node\r\n Yarn: 1.22.17 - /usr/local/bin/yarn\r\n npm: 8.4.1 - ~/.nvm/versions/node/v17.5.0/bin/npm\r\n Browsers:\r\n Chrome: 103.0.5060.53\r\n Edge: 103.0.1264.37\r\n Firefox Developer Edition: 101.0\r\n Safari: 15.5\r\n npmPackages:\r\n @vueuse/core: ^8.7.5 => 8.7.5\r\n @vueuse/head: ^0.7.5 => 0.7.6\r\n @vueuse/integrations: ^8.7.5 => 8.7.5\r\n @vueuse/nuxt: ^8.7.5 => 8.7.5\r\n @vueuse/router: ^8.7.5 => 8.7.5\r\n```\r\n\r\n\r\n### Used Package Manager\r\n\r\nyarn\r\n\r\n### Validations\r\n\r\n- [x] Follow our [Code of Conduct](https://github.com/vueuse/vueuse/blob/main/CODE_OF_CONDUCT.md)\r\n- [X] Read the [Contributing Guidelines](https://github.com/vueuse/vueuse/blob/main/CONTRIBUTING.md).\r\n- [X] Read the [docs](https://vueuse.org/guide).\r\n- [X] Check that there isn't [already an issue](https://github.com/vueuse/vueuse/issues) that reports the same bug to avoid creating a duplicate.\r\n- [X] Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.\r\n- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vueuse/vueuse/discussions).\r\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[],1727,"UseRouteQuery: TypeError: Cannot read properties of undefined (reading 'replace')","2022-06-28T17:43:43Z","https://github.com/vueuse/vueuse/issues/1727",0.6859148,{"description":3224,"labels":3225,"number":3232,"owner":3171,"repository":3171,"state":3210,"title":3233,"updated_at":3234,"url":3235,"score":3236},"### Describe the bug\n\nit's \u003C.value> ?\r\n\u003Cimg width=\"808\" alt=\"截屏2024-04-01 14 39 58\" src=\"https://github.com/vueuse/vueuse/assets/26219414/9ed4b79a-83e7-4fa6-9b75-8e81d4100904\">\r\n\n\n### Reproduction\n\nis .value ?\n\n### System Info\n\n```Shell\nbrowsers\n```\n\n\n### Used Package Manager\n\nnpm\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://github.com/vueuse/vueuse/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/vueuse/vueuse/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://vueuse.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/vueuse/vueuse/issues) that reports the same bug to avoid creating a duplicate.\n- [X] Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.\n- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vueuse/vueuse/discussions).\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[3226,3229],{"name":3227,"color":3228},"documentation","0075ca",{"name":3230,"color":3231},"vue: upstream","0E8A16",3900,"property is error ?","2024-04-02T07:59:36Z","https://github.com/vueuse/vueuse/issues/3900",0.6889289,{"description":3238,"labels":3239,"number":3240,"owner":3171,"repository":3171,"state":3210,"title":3241,"updated_at":3242,"url":3243,"score":3244},"### Describe the bug\n\nWhen requesting `@vueuse/router` with Yarn, it complains about a missing dependency on `vue` due to using `vue-demi`:\r\n\r\n```\r\n➤ YN0002: │ @vueuse/router@npm:8.6.0 [d54e3] doesn't provide vue (p9ce65), requested by vue-demi\r\n➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements \u003Chash> for details, where \u003Chash> is the six-letter p-prefixed code\r\n```\r\n\r\nUnlike `@vueuse/core`, `@vueuse/router` is missing this part in `package.json`:\r\n\r\n```json\r\n \"peerDependencies\": {\r\n \"@vue/composition-api\": \"^1.1.0\",\r\n \"vue\": \"^2.6.0 || ^3.2.0\"\r\n },\r\n \"peerDependenciesMeta\": {\r\n \"vue\": {\r\n \"optional\": true\r\n },\r\n \"@vue/composition-api\": {\r\n \"optional\": true\r\n }\r\n },\r\n```\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vitejs-vite-bc8aw8/?file=package.json (dunno how to switch to Yarn here)\n\n### System Info\n\n```Shell\nSystem:\r\n OS: Linux 5.18 Debian GNU/Linux bookworm/sid\r\n CPU: (4) x64 Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz\r\n Memory: 2.79 GB / 7.68 GB\r\n Container: Yes\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 16.15.0 - /tmp/xfs-e4e7a53a/node\r\n Yarn: 3.2.1 - /tmp/xfs-e4e7a53a/yarn\r\n Browsers:\r\n Firefox: 102.0.1\r\n npmPackages:\r\n @vueuse/core: ^8.6.0 => 8.6.0\r\n @vueuse/router: ^8.6.0 => 8.6.0\r\n vue: ^3.2.37 => 3.2.37\n```\n\n\n### Used Package Manager\n\nyarn\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://github.com/vueuse/vueuse/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/vueuse/vueuse/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://vueuse.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/vueuse/vueuse/issues) that reports the same bug to avoid creating a duplicate.\n- [X] Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.\n- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vueuse/vueuse/discussions).\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[],1912,"peerDependencies on vue missing for vueuse/router","2023-07-17T18:25:44Z","https://github.com/vueuse/vueuse/issues/1912",0.6937326,{"description":3246,"labels":3247,"number":3248,"owner":3171,"repository":3171,"state":3210,"title":3249,"updated_at":3250,"url":3251,"score":3252},"### Describe the bug\n\nWith VueUse 1.6.0 I have got an error that is not present in version 1.5.0.\r\nError:\r\n```\r\nnuxt.js:97 [nuxt] error caught during app initialization TypeError: Cannot read properties of null (reading 'document')\r\n```\r\nIn the reproduction I have produced error with using `useInfiniteScroll` function (found same for `useScroll`) and it happens because on top of ref element I have an element with conditional rendering. \r\nWhile testing, I have noticed that if I remove condition for rendering the element, error does not appear.\r\nI have an example where I need the condition to be part of element tree that renders scrolling element and it worked in 1.5.0\n\n### Reproduction\n\nhttps://github.com/frasza/vueuse-nuxt-scroll\n\n### System Info\n\n```Shell\nNuxi info:\r\n------------------------------\r\n- Operating System: Windows_NT\r\n- Node Version: v20.9.0\r\n- Nuxt Version: 3.8.1\r\n- CLI Version: 3.9.1\r\n- Nitro Version: 2.7.2\r\n- Package Manager: pnpm@8.9.0\r\n- Builder: -\r\n- User Config: modules, ssr, devtools\r\n- Runtime Modules: @vueuse/nuxt@10.6.0, @nuxtjs/tailwindcss@6.9.4\r\n- Build Modules: -\r\n------------------------------\n```\n\n\n### Used Package Manager\n\npnpm\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://github.com/vueuse/vueuse/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/vueuse/vueuse/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://vueuse.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/vueuse/vueuse/issues) that reports the same bug to avoid creating a duplicate.\n- [X] Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.\n- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vueuse/vueuse/discussions).\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[],3543,"VueUse 1.6.0 - Cannot read properties of null (reading 'document')","2023-11-13T09:57:41Z","https://github.com/vueuse/vueuse/issues/3543",0.6950485,{"description":3254,"labels":3255,"number":3257,"owner":3171,"repository":3171,"state":3210,"title":3258,"updated_at":3259,"url":3260,"score":3261},"### Describe the bug\n\nwhen upgrade @vueuse/nuxt to 10.8.0, cause nuxt bridge error\r\n\r\n\u003Cimg width=\"2100\" alt=\"image\" src=\"https://github.com/vueuse/vueuse/assets/4298437/a6db9779-28fc-4156-b492-24ce9ee8a02f\">\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/~/github.com/Ttou/vueuse-nuxt-issue\n\n### System Info\n\n```Shell\nSystem:\r\n OS: macOS 14.3.1\r\n CPU: (8) arm64 Apple M2\r\n Memory: 2.91 GB / 24.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 18.19.0 - ~/Library/Caches/fnm_multishells/8660_1708431704282/bin/node\r\n npm: 10.2.3 - ~/Library/Caches/fnm_multishells/8660_1708431704282/bin/npm\r\n pnpm: 8.15.3 - /opt/homebrew/bin/pnpm\r\n Browsers:\r\n Safari: 17.3.1\r\n npmPackages:\r\n @vueuse/core: 10.8.0 => 10.8.0 \r\n @vueuse/nuxt: 10.8.0 => 10.8.0 \r\n vue: ^2.7.16 => 2.7.16\n```\n\n\n### Used Package Manager\n\npnpm\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://github.com/vueuse/vueuse/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/vueuse/vueuse/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://vueuse.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/vueuse/vueuse/issues) that reports the same bug to avoid creating a duplicate.\n- [X] Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.\n- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vueuse/vueuse/discussions).\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[3256],{"name":3230,"color":3231},3797,"[nuxt] [request error] [unhandled] [500] Cannot read properties of undefined (reading 'mounted')","2024-02-28T10:13:16Z","https://github.com/vueuse/vueuse/issues/3797",0.7013222,["Reactive",3263],{},["Set"],["ShallowReactive",3266],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fgydUORAlH8-JBECrrQRDIu9M0wbw2y8-yF45O33JRwE":-1},"/vueuse/vue-demi/124"]