owner stringclasses 14
values | repo stringclasses 14
values | id int64 116k 4.61B | issue_number int32 1 181k | author stringlengths 1 39 | body stringlengths 1 262k | created_at timestamp[us]date 2000-06-06 02:40:44 2026-06-02 20:16:18 | updated_at timestamp[us]date 2000-06-06 02:40:44 2026-06-02 20:22:56 | reactions unknown | author_association stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|
vuejs | core | 1,152,241,834 | 6,026 | amirkian007 | @tony19 hi can you re-review my new changes please ? the re-request review button not working... | 2022-06-10T11:01:36 | 2022-06-10T11:01:36 | {} | NONE |
vuejs | core | 1,152,820,722 | 6,071 | LoveofRedMoon | > Is all the code you provided necessary to reproduce the problem? Will the problem disappear if you remove any part of it?
I try to remove some components that will not trigger this problem. | 2022-06-11T00:52:38 | 2022-06-11T00:52:38 | {} | NONE |
vuejs | core | 1,152,943,690 | 5,415 | twelve17 | @LinusBorg here you go https://github.com/vuejs/core/issues/6099 | 2022-06-11T14:54:33 | 2022-06-11T14:54:33 | {} | NONE |
vuejs | core | 1,153,111,567 | 6,052 | 07akioni | Is there any progress? I think the problem may stop some projects migrating to ts 4.7. | 2022-06-12T09:22:32 | 2022-06-12T09:22:32 | {} | CONTRIBUTOR |
vuejs | core | 1,153,304,738 | 6,101 | sqal | Please read the docs carefully - https://vuejs.org/guide/extras/reactivity-transform.html#retaining-reactivity-across-function-boundaries
Your first issue is in Canvas.vue where you actually provide value of the ref/computed property instead of ref/computed object itself. That's why you have to use `$$()`
```js
... | 2022-06-12T22:10:19 | 2022-06-12T22:11:34 | {} | CONTRIBUTOR |
vuejs | core | 1,153,407,062 | 6,090 | yyx990803 | If this is a Nuxt only issue, please report to Nuxt.
If you believe this behavior is not specific to Nuxt, please provide a reproduction without Nuxt involved. | 2022-06-13T02:55:30 | 2022-06-13T02:55:30 | {} | MEMBER |
vuejs | core | 1,154,218,445 | 6,103 | LinusBorg | Can't look at the repro right now, but I suspect you are missing `resolveComponent()`:
```js
h(resolveComponent('component-name'))
``` | 2022-06-13T18:01:00 | 2022-06-13T18:01:14 | {} | MEMBER |
vuejs | core | 1,150,048,238 | 6,066 | jods4 | I upgraded to 3.2.37 and can confirm that the warnings are gone | 2022-06-08T15:09:53 | 2022-06-08T15:09:53 | {} | CONTRIBUTOR |
vuejs | core | 1,150,881,288 | 2,855 | codebakery-ch | I just came across this when doing watch with webpack. Maybe it helps somebody or is related to this.
I get the error when I have my `<template>` like this:
```
<template>
<div>
<Teleport to="body">
<transition name="fade">
<div>...</div>
</transition>
</Teleport>
</div>
<... | 2022-06-09T09:20:07 | 2022-06-09T11:17:04 | {} | NONE |
vuejs | core | 1,152,820,479 | 6,071 | Justineo | Is all the code you provided necessary to reproduce the problem? Will the problem disappear if you remove any part of it? | 2022-06-11T00:51:31 | 2022-06-11T00:51:31 | {} | MEMBER |
vuejs | core | 1,153,320,813 | 6,101 | omarbassam88 | Yes , Thank You so much. I get it now. I had read that part in the docs. I just didn't think that this will apply to provide/inject as well. | 2022-06-12T23:23:01 | 2022-06-12T23:23:01 | {
"+1": 1
} | NONE |
vuejs | core | 1,153,562,852 | 6,094 | Destrokhen-main | @yyx990803 Understood, sorry. It seemed to me that I was able to increase readability and execution speed
| 2022-06-13T07:19:06 | 2022-06-13T07:19:06 | {} | NONE |
vuejs | core | 1,154,604,279 | 6,106 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | b6bee0e5177bfe18d57467a0868e886a275dab82 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-06-14T01:10:54 | 2022-06-14T01:10:54 | {} | NONE |
vuejs | core | 1,154,701,033 | 6,109 | edison1105 | dupliate of https://github.com/vuejs/core/issues/4498 | 2022-06-14T04:39:15 | 2022-06-14T04:39:15 | {} | MEMBER |
vuejs | core | 1,154,946,545 | 4,294 | tewshi | based on above comments, I got it working by extending the imported interface in the setup script (typescript)
```typescript
import { PaginationOptions } from '~~types`
interface PaginationProps extends PaginationOptions { }
defineProps<PaginationProps>() // OR with default values, use below
withDefaul... | 2022-06-14T09:32:21 | 2022-06-14T09:32:21 | {
"+1": 4,
"-1": 1
} | NONE |
vuejs | core | 1,155,320,252 | 5,033 | nickrum | I ran into the exact same issue this PR is fixing. While investigationg the issue, in noticed that, in addition to the original issue, the wrong value is passed to `callWithAsyncErrorHandling()` when using an immediate watcher with multiple sources over [here](https://github.com/vuejs/core/pull/5033/files#diff-59e3ee98... | 2022-06-14T15:06:11 | 2022-06-14T15:06:11 | {} | NONE |
vuejs | core | 1,150,039,166 | 6,058 | yyx990803 | Please note maintainers have no obligation to spend more effort than they deem necessary. I have responded with as much patience as I can, explaining why we are not interested in implementing it. In short: not worth it in core, maybe doable in userland for those who really need it. Again, you can disagree with the reas... | 2022-06-08T15:02:30 | 2022-06-08T15:02:30 | {} | MEMBER |
vuejs | core | 1,151,848,276 | 6,082 | Justineo | 这个链接要求访问者登录 Gitee 账号,请看一下能否在我们的 [SFC Playground](https://sfc.vuejs.org/) 上复现吧。 | 2022-06-10T02:22:47 | 2022-06-10T02:22:47 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,152,353,015 | 6,094 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 92a87193769b46cba3c66a0126d045a43872b9da |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-06-10T13:19:20 | 2022-06-10T13:19:20 | {} | NONE |
vuejs | core | 1,152,800,695 | 6,071 | LoveofRedMoon | > Please provide a minimal reproduction, thanks!
I could not determine the problem.
https://github.com/LoveofRedMoon/bug-20220608.git
this link is what i can provide minimal reproduction. | 2022-06-10T23:32:37 | 2022-06-10T23:32:37 | {} | NONE |
vuejs | core | 1,153,055,257 | 6,086 | Linkontoask | Thank you for your answer. @LinusBorg
I think it could be described clearly in the `<component>` documentation that props and events should be calculated dynamically based on `:is` and not set in stone.
If you can add eslint rules that would be even better. | 2022-06-12T02:59:01 | 2022-06-12T02:59:01 | {} | NONE |
vuejs | core | 1,153,396,430 | 6,082 | yyx990803 | Vue 3 不支持 Chrome 49. | 2022-06-13T02:31:31 | 2022-06-13T02:31:31 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,153,682,323 | 5,996 | qmhc | I encountered the same issue in `3.2.37`. | 2022-06-13T09:21:30 | 2022-06-13T09:21:30 | {
"+1": 1
} | NONE |
vuejs | core | 1,155,024,410 | 6,082 | ArmedBone | > https://caniuse.com/es6 Chrome 51 才开始支持 ES6。Vue 3 不支持该版本浏览器。
>
> * https://vuejs.org/about/faq.html#what-browsers-does-vue-support
打完兼容包可以运行 | 2022-06-14T10:51:17 | 2022-06-14T10:51:17 | {} | NONE |
vuejs | core | 1,149,412,578 | 6,058 | yyx990803 | > Dependencies that are accessed asynchronously will not trigger re-evaluation of the async computed value.
This is a fundamental limitation of how Vue's reactivity system works, unless JavaScript provides a mechanism to capture function execution context across async ticks.
What you can do is to ensure the deps ... | 2022-06-08T03:23:17 | 2022-06-08T03:24:41 | {} | MEMBER |
vuejs | core | 1,150,806,596 | 5,657 | javastation | > This problem always occurs in pages that use keep-alive.
Could you provide a minimal repro? | 2022-06-09T08:07:09 | 2022-06-09T08:07:09 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,151,894,656 | 6,086 | Linkontoask | Additional scenario: When I use component components, I often register events that are not generic, but may listen for unintended actions | 2022-06-10T03:35:23 | 2022-06-10T03:35:23 | {} | NONE |
vuejs | core | 1,152,070,170 | 6,077 | lidlanca | check if this may be related
https://github.com/vuejs/core/issues/5401
if it is, there are work arounds suggested in comments. | 2022-06-10T07:42:13 | 2022-06-10T07:42:13 | {} | CONTRIBUTOR |
vuejs | core | 1,153,697,657 | 2,855 | codebakery-ch | > ...I am only seeing this error when running a production build - dev builds don't throw the error
for me it's the opposite 🤷♂️ runs fine on prod build, only watch and dev complain...
| 2022-06-13T09:36:51 | 2022-06-13T09:37:08 | {} | NONE |
vuejs | core | 1,154,662,692 | 6,086 | iwusong | > Thank you for your replies. @lidlanca @KaelWD
>
> I'm here to talk about an application scenario
>
> ```js
> <component :is="hit" @change="onChange" />
>
> const hit = Comp1 || Comp2 || Comp3
> ```
>
> It may be that `Comp2` does not need to respond to this event, but it happens that there are elements ... | 2022-06-14T03:14:54 | 2022-06-14T03:14:54 | {} | CONTRIBUTOR |
vuejs | core | 1,155,255,493 | 6,112 | 07akioni | I thinks it's better to add some unit tests to avoid further regression. | 2022-06-14T14:18:41 | 2022-06-14T14:18:41 | {} | CONTRIBUTOR |
vuejs | core | 1,152,584,991 | 5,657 | lakkinzi | Hello! Thank you for your work.
Is it possible to hope that PR will it be accepted soon?
https://github.com/vuejs/core/pull/5670
Our team has encountered a similar error in production and we have no ideas how to fix it from our side.
 | 2022-06-08T03:27:49 | 2022-06-08T03:28:10 | {} | MEMBER |
vuejs | core | 1,150,929,733 | 5,657 | ff77645 | [sfc.vuejs.org/](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8ZGl2IGNsYXNzPVwiYm9yZGVyIGJvcmRlci1kOCB3LWZ1bGxcIj5cbiAgICA8ZGl2IGNsYXNzPVwicC01XCI+XG4gICAgICA8aW5wdXQgdi1tb2RlbD1cInRvZ2dsZVwiIHR5cGU9XCJjaGVja2JveFwiIC8+XG4gICAgICA8ZGl2IHYtaWY9XCIhdG9nZ2xlXCI+ZXJyb3I8L2Rpdj5cbiAgICAgIDxtLXRhYmxlIHYtaWY9XCJz... | 2022-06-09T10:05:51 | 2022-06-09T10:05:51 | {} | NONE |
vuejs | core | 1,152,414,448 | 6,082 | liulinboyi | > > 这个链接要求访问者登录 Gitee 账号,请看一下能否在我们的 [SFC Playground](https://sfc.vuejs.org/) 上复现吧。
>
> 这个网页无法在chrome49的浏览器打开
可能Chrome49 Windows XP版本对Proxy支持不太好😉 | 2022-06-10T14:20:40 | 2022-06-10T14:20:40 | {} | MEMBER |
vuejs | core | 1,152,819,101 | 6,071 | LoveofRedMoon | > This a far beyond minimal. See https://github.com/vuejs/core/blob/main/.github/bug-repro-guidelines.md#a-repro-should-be-minimal. Remove all unnecessary components and dependencies please.
The triggering method of some bugs is not simple in itself, just like isBlockTreeEnabled, its triggering condition must be a c... | 2022-06-11T00:45:23 | 2022-06-11T00:45:23 | {} | NONE |
vuejs | core | 1,152,924,375 | 6,097 | LinusBorg | The raw counterpart of `watchEffect()` is `effect`, exported by the reactivity package.
`watch()`-like behavior can be implemented with `effect()`, `pauseTracking()` and `resumeTracking()`.
The reason why these two are only available in`vue` and not `@vue/reactivity`, is that they rely on the scheduler implented ... | 2022-06-11T13:02:00 | 2022-06-11T13:03:16 | {
"+1": 2
} | MEMBER |
vuejs | core | 1,153,335,973 | 6,082 | sxzz | https://caniuse.com/es6
Chrome 51 才开始支持 ES6。Vue 3 不支持该版本浏览器。
- https://vuejs.org/about/faq.html#what-browsers-does-vue-support | 2022-06-13T00:33:51 | 2022-06-13T00:33:51 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,073,779,580 | 963 | LinusBorg | Look, if you think there's something not working, create a reproduction and open an issue.
Please don't ask me to do that work for you. | 2022-03-21T11:24:16 | 2022-03-21T11:24:16 | {
"confused": 2
} | MEMBER |
vuejs | core | 1,074,534,105 | 5,187 | awacode21 | i am dealing with the exakt same problem. Is there anything new on when this PR will be merged? | 2022-03-21T23:52:17 | 2022-03-21T23:52:17 | {} | NONE |
vuejs | core | 1,075,329,007 | 4,428 | mathieumagalhaes | I didn't want to create another issue for it, as this seems related:
v-model does not work on `<component :is="...">` components either.
Reproduction: https://codesandbox.io/s/customelement-v-model-bug-forked-w4p21s?file=/src/App.vue
For `<component is="input">` one could use `@input="value = $event.target.value... | 2022-03-22T15:31:18 | 2022-03-22T15:31:18 | {
"+1": 2
} | NONE |
vuejs | core | 1,075,909,697 | 5,615 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 0697c6a29187579746cef4273ebeb8a1065e621e |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-03-23T04:45:29 | 2022-03-23T04:48:36 | {} | NONE |
vuejs | core | 1,079,013,778 | 5,624 | edison1105 | what's this for? | 2022-03-25T13:11:18 | 2022-03-25T13:11:18 | {} | MEMBER |
vuejs | core | 1,079,649,357 | 5,629 | edison1105 | you should add `deep: true`.
https://v3-migration.vuejs.org/breaking-changes/watch.html | 2022-03-26T09:33:48 | 2022-03-26T09:35:39 | {} | MEMBER |
vuejs | core | 1,079,690,257 | 5,255 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 382491a276d7d3ed299e040f974f699a44de6aed |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-03-26T13:03:55 | 2022-03-26T13:04:38 | {} | NONE |
vuejs | core | 1,079,691,297 | 5,630 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | ee1e1a5eaee07bc243bed07cfb3adfab4d74c1df |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-03-26T13:08:46 | 2022-03-26T13:14:27 | {} | NONE |
vuejs | core | 1,079,894,483 | 5,626 | xiexuan-star | ```javascript
// case 1
const original = {existingProp:''}
const foo = reactive(original)
Object.preventExtensions(original)
const bar = reactive(original) // bar is reactive obj
// case 2
const original = {existingProp:''}
Object.preventExtensions(original)
const foo = reactive(original) // foo is not react... | 2022-03-27T09:51:06 | 2022-03-27T09:51:06 | {} | NONE |
vuejs | core | 1,073,164,513 | 4,294 | tobychidi-zz | We are still waiting for a fix?
| 2022-03-20T04:25:24 | 2022-03-20T11:11:17 | {} | NONE |
vuejs | core | 1,077,386,099 | 5,619 | posva | Yes, components can be fragments, in which case, they render two anchor text nodes around the actual nodes to simulate a single node parent. You can still access the subTree in `$refs.myRef.$.subTree` and get the actual elements as well as other information there. This is also accessible directly with `getCurrentInstan... | 2022-03-24T08:55:36 | 2022-03-24T08:55:36 | {} | MEMBER |
vuejs | core | 1,079,963,117 | 5,626 | xiexuan-star | so that's all right then : ) | 2022-03-27T16:16:40 | 2022-03-27T16:16:40 | {} | NONE |
vuejs | core | 1,073,369,306 | 5,312 | scottbedard | I'm also running into this, and have found a workaround. The problem occurs when there are both static _and_ dynamic slot names. In this situation, the slots are incorrectly typed using _only_ the static names.
To side-step the issue, we can define our static slots dynamically. One note about this, we have to use a ... | 2022-03-20T23:13:07 | 2022-03-20T23:15:54 | {
"+1": 3,
"heart": 1
} | CONTRIBUTOR |
vuejs | core | 1,074,877,602 | 3,648 | liu-yan-liang | 现在还没有解决嘛?怎么久了 | 2022-03-22T08:32:48 | 2022-03-22T08:32:48 | {} | NONE |
vuejs | core | 1,077,666,351 | 4,949 | a15965734368 | > > You need to run [https://github.com/vuejs/vue-next/blob/master/package.json#L25](https://github.com/vuejs/vue-next/blob/master/package.json?rgh-link-date=2022-01-05T08%3A49%3A54Z#L25) first
>
> I use node 16.5.0 pnpm 6.24.4 and i have same problen @posva
Has your problem been solved? | 2022-03-24T14:06:18 | 2022-03-24T14:06:18 | {} | NONE |
vuejs | core | 1,077,758,656 | 3,842 | avramz | Any update on this? | 2022-03-24T15:30:45 | 2022-03-24T15:30:45 | {} | NONE |
vuejs | core | 1,078,743,698 | 5,623 | LinusBorg | it's not a bug.
the change to ref triggers the re-render, the shallow ref change does not.
But during re-render *all* of the component's template is updated with the latest data. | 2022-03-25T07:43:29 | 2022-03-25T07:43:46 | {} | MEMBER |
vuejs | core | 1,079,954,505 | 5,631 | LinusBorg | You can't have two copies of Vue in the same app. | 2022-03-27T15:31:57 | 2022-03-27T15:31:57 | {} | MEMBER |
vuejs | core | 1,079,960,801 | 5,631 | zhangxuyang950313 | > It's not just about these two Symbols.
>
> Reactivity Tracking and effects scheduling is also relying on singletons. Even if you get these components to render, they will likely not update as they come with their own scheduler that does t know about effects & reactive data from the surrounding app, or have other b... | 2022-03-27T16:03:52 | 2022-03-27T16:04:58 | {} | NONE |
vuejs | core | 1,073,257,043 | 4,404 | gnuletik | @chasegiunta You're right, this PR does not support named slots. I don't have remaining local changes that are not part of this PR.
Feel free to create a fork from my own to add support for it :) | 2022-03-20T13:55:53 | 2022-03-20T13:55:53 | {} | NONE |
vuejs | core | 1,074,497,701 | 5,126 | awacode21 | @zhangyuang i am dealing with the same problem. When i check the ctx object it only contains this:
```
__teleportBuffers: {
"[data-scope-buttons='111']": [
[Array],
[Array]
]
}
```
instead of the mentioned teleport object which would be a Record<string, string>.
So i ask myself wh... | 2022-03-21T22:50:33 | 2022-03-21T22:50:33 | {} | NONE |
vuejs | core | 1,074,870,959 | 5,612 | pikax | > @pikax Didn't you work on a PR that made component definition types canonical to enable this kind of usage?
I did, but I think is different than what's being requested here, I worked on passing props definition to the component, but because of the typescript limitation of not supporting partial typing on generics.... | 2022-03-22T08:25:28 | 2022-03-22T08:25:28 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,079,202,803 | 5,621 | RemiC2care | Hi, why do you consider this is not a bug ? | 2022-03-25T16:37:47 | 2022-03-25T16:37:47 | {} | NONE |
vuejs | core | 1,079,705,297 | 5,626 | LinusBorg | Why do you consider this to be a bug?
When the underlying object has existing properties, those can still be changed (like the original), and the reactive proxy can be used to observe those changes.
When someone tries to add a new property, they will get an error. as is expected from a non-extensible object. | 2022-03-26T14:27:49 | 2022-03-26T14:31:21 | {} | MEMBER |
vuejs | core | 1,079,866,597 | 5,035 | PurpleTape | @albertjin, thank you!
I came to a similar decision. If anyone is interested:
```ts
// Keep types somewhere
import {
Ref, ComputedRef, WritableComputedRef, UnwrapNestedRefs,
} from 'vue';
export type VueRef<T> = Ref<T> | ComputedRef<T> | WritableComputedRef<T>;
export type VueUnwrapRef<T> = UnwrapNes... | 2022-03-27T07:26:35 | 2022-03-27T07:26:35 | {} | NONE |
vuejs | core | 1,079,958,621 | 5,631 | LinusBorg | It's not just about these two Symbols.
Reactivity Tracking and effects scheduling is also relying on singletons. Even if you get these components to render, they will likely not update as they come with their own scheduler that does t know about effects & reactive data from the surrounding app, or have other bugs. | 2022-03-27T15:52:20 | 2022-03-27T15:53:00 | {} | MEMBER |
vuejs | core | 1,074,463,940 | 5,607 | sqal | This issue seems to be similar to https://github.com/vuejs/core/issues/5266 | 2022-03-21T22:02:18 | 2022-03-21T22:02:18 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,074,822,149 | 5,613 | posva | As a workaround add a property to the extended props:
```ts
interface SelectProps extends Props {
_a?: never
}
``` | 2022-03-22T07:23:12 | 2022-03-22T07:23:12 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,077,670,422 | 5,621 | posva | Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the [forum](http://forum.vuejs.org/), the [Discord server](https://vue-land.js.org/) or [StackOverflow](http://stackoverflow.com/tags/vue.js). If this is a bug report, provide a reproduction that follo... | 2022-03-24T14:10:15 | 2022-03-24T14:11:00 | {} | MEMBER |
vuejs | core | 1,079,814,095 | 5,626 | xiexuan-star | > Why do you consider this to be a bug?
>
> When the underlying object has existing properties, those can still be changed (like the original), and the reactive proxy can be used to observe those changes.
>
> When someone tries to add a new property, they will get an error. as is expected from a non-extensible ob... | 2022-03-27T01:56:31 | 2022-03-27T01:56:31 | {} | NONE |
vuejs | core | 1,079,967,079 | 5,631 | LinusBorg | Oh. I'm misunderstanding the problem. It's essentially just about the JSX transform injecting the wrong `h`, or somethingike that? | 2022-03-27T16:39:29 | 2022-03-27T16:39:29 | {} | MEMBER |
vuejs | core | 1,073,733,541 | 5,609 | LinusBorg | I don't think that is achievable without breaking changes (but am not sure right now), and if so, would be out of the question for the current major version.
I'm also not sure this is a good idea because unlike `v-on`, which is explicitly about handler functions for events, custom directives can receie any kind of v... | 2022-03-21T10:32:18 | 2022-03-21T10:32:18 | {} | MEMBER |
vuejs | core | 1,074,477,320 | 3,869 | awacode21 | How does the injection in rendered HTML work? when i check the rendered html string, the container it should teleport to is empty, without any comment. So how do i know where i have to add the teleport code? And when i check the ctx object their is a teleport buffer containing arrays. I am really questioning myself how... | 2022-03-21T22:19:02 | 2022-03-21T22:26:37 | {} | NONE |
vuejs | core | 1,075,909,698 | 5,615 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 0697c6a29187579746cef4273ebeb8a1065e621e |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-03-23T04:45:29 | 2022-03-23T04:56:23 | {} | NONE |
vuejs | core | 1,076,068,465 | 5,616 | LinusBorg | Vue always updates the whole component when a reactive change happens.
* the update is cause by the reactive change of `person.name`.
* During the update, the changed value for `person.family.husband.name` is used in the template update.
---
当发生响应式更改时,Vue 总是更新整个组件。
* 更新是由 `person.name` 的被动更改引起的。
* 在更新期间,`... | 2022-03-23T08:18:17 | 2022-03-23T08:18:17 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,078,953,150 | 5,625 | sqal | add `"skipLibCheck": true` to your tsconfig.json | 2022-03-25T11:48:30 | 2022-03-25T11:49:05 | {
"+1": 9,
"-1": 6
} | CONTRIBUTOR |
vuejs | core | 1,079,090,426 | 5,625 | posva | This belongs to the vite vue template: https://github.com/vitejs/vite/issues?q=is%3Aissue+sort%3Aupdated-desc+cannot+find+module+repo%3Ababel%2Ftypes+is%3Aopen | 2022-03-25T14:37:07 | 2022-03-25T14:37:07 | {} | MEMBER |
vuejs | core | 1,073,765,357 | 963 | Oleksii14 | @LinusBorg this workaround is not working in the actual version of Vue (3.2+). Can you please check? | 2022-03-21T11:08:56 | 2022-03-21T11:08:56 | {} | NONE |
vuejs | core | 1,073,774,630 | 963 | LinusBorg | Works fine for me.
<img width="833" alt="image" src="https://user-images.githubusercontent.com/1444526/159250617-8f88f86c-c468-46a8-88f3-f05496505c27.png">
| 2022-03-21T11:18:17 | 2022-03-21T11:18:17 | {} | MEMBER |
vuejs | core | 1,073,778,519 | 963 | Oleksii14 | @LinusBorg what if you pass generic to `reactive`?
```ts
const state = reactive<{ a: number; b: number }>({
a: 1,
b: computed(...)
})
``` | 2022-03-21T11:22:58 | 2022-03-21T11:22:58 | {} | NONE |
vuejs | core | 1,074,481,135 | 3,869 | awacode21 | > This is expected because you need to explicitly handle SSRed Teleports.
>
> They are exposed on the ssr context:
>
> ```js
> const ctx = {}
> const html = await renderToString(app, ctx)
>
> console..log(ctx.teleports)
> ```
>
> You need to return this from `render` in `entry-server.js` and then inject ... | 2022-03-21T22:24:17 | 2022-03-21T22:28:15 | {} | NONE |
vuejs | core | 1,074,679,587 | 5,035 | albertjin | @PurpleTape
A workaround is to add the `string` type as follows. I hope this weakness of the `<script setup>` syntax should be revolved in a clean way but not this or that way of workaround.
```typescript
import type { Ref } from 'vue';
export interface IMyComponent {
something: string | Ref<string>;
}
... | 2022-03-22T03:11:07 | 2022-03-22T03:11:40 | {} | NONE |
vuejs | core | 1,077,333,771 | 5,178 | Riant | #5105 通过这么微小的改动即可优雅支持,所以,还是百思不得解,为何这个功能还是迟迟不能支持 :( | 2022-03-24T07:50:21 | 2022-03-24T07:50:21 | {} | NONE |
vuejs | core | 1,077,426,556 | 5,619 | holy-func | But that makes difference between development and production because of there is no comment on production environment which can directly get the $el' dom structure and then use $refs.myRef.$.subTree will make error | 2022-03-24T09:38:51 | 2022-03-24T09:38:51 | {} | NONE |
vuejs | core | 1,077,664,703 | 4,949 | a15965734368 | > You need to run [https://github.com/vuejs/vue-next/blob/master/package.json#L25](https://github.com/vuejs/vue-next/blob/master/package.json?rgh-link-date=2021-11-15T14%3A41%3A23Z#L25)
hello, I have the same problem
1. `pnpm i`
2. `pnpm run preinstall`
3. `pnpm run dev-sfc`
`.
Your problem is that the interface doesn't properly describe the object that you pass in: the interface doesn't account for the ref. `Ref<number>` would be accurate.
or you do this instead:
```js
> const form: Form = reactive({
a: 1,
... | 2022-03-21T18:41:07 | 2022-03-21T18:42:22 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,074,537,298 | 4,440 | awacode21 | @LinusBorg This is an issue since August. There is a provided fix since end of December. Is there any chance that the PR will be merged soon? | 2022-03-21T23:58:23 | 2022-03-22T00:13:27 | {} | NONE |
vuejs | core | 1,074,823,317 | 5,612 | posva | @pikax Didn't you work on a PR that made component definition types canonical to enable this kind of usage? | 2022-03-22T07:24:41 | 2022-03-22T07:24:41 | {} | MEMBER |
vuejs | core | 1,075,911,190 | 5,253 | hcg1023 | I created a PR for this problem [https://github.com/vuejs/core/pull/5615](https://github.com/vuejs/core/pull/5615) | 2022-03-23T04:49:23 | 2022-03-23T04:49:23 | {} | CONTRIBUTOR |
vuejs | core | 1,075,909,715 | 5,615 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 0697c6a29187579746cef4273ebeb8a1065e621e |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-03-23T04:45:32 | 2022-03-23T04:51:03 | {} | NONE |
vuejs | core | 1,076,022,548 | 4,294 | howlwindy | > > ```ts
> > // Icon.vue
> > <script lang="ts">
> > // summary: add comment above some line
> > export enum EIconSize {
> > XS,
> > SM,
> > MD,
> > LG,
> > XL
> > }
> > // interface must not be imported which use for defineProps
> > export interface IIconProps {
> > // ... if next line is cust... | 2022-03-23T07:42:13 | 2022-03-23T07:42:13 | {} | NONE |
vuejs | core | 1,065,826,679 | 5,575 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 513cc8b66d0e00daa031927d2a9a2e463c89fa85 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-03-12T06:36:34 | 2022-03-23T10:14:03 | {} | NONE |
vuejs | core | 1,078,804,457 | 5,624 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 6a4d3a84667547198849c2c68c705175fd9e30ed |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-03-25T09:07:03 | 2022-03-25T09:09:53 | {} | NONE |
vuejs | core | 1,079,541,171 | 5,627 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 9dd20f9e1412aac5ea0c019c9516767316f0e5de |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-03-26T00:59:50 | 2022-03-26T01:05:50 | {} | NONE |
vuejs | core | 1,079,690,260 | 5,255 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 382491a276d7d3ed299e040f974f699a44de6aed |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-03-26T13:03:56 | 2022-03-26T13:10:43 | {} | NONE |
vuejs | core | 1,079,954,632 | 5,631 | zhangxuyang950313 | > You can't have two copies of Vue in the same app.
why? | 2022-03-27T15:32:40 | 2022-03-27T15:32:40 | {} | NONE |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.