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,105,906,211 | 5,775 | edison1105 | not only checkbox but also radio has this same problem too.
```diff
function setChecked(
el: HTMLInputElement,
{ value, oldValue }: DirectiveBinding,
vnode: VNode
) {
// store the v-model value on the element so it can be accessed by the
// change listener.
;(el as any)._modelValue = value
if ... | 2022-04-22T01:11:08 | 2022-04-22T01:11:08 | {} | MEMBER |
vuejs | core | 1,103,583,134 | 5,752 | sxzz | @yyx990803 Added. | 2022-04-20T07:54:08 | 2022-04-20T07:54:08 | {} | MEMBER |
vuejs | core | 1,103,971,454 | 5,760 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 27e1c872446d834bd8496fda78a3a401e4670625 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-04-20T14:02:32 | 2022-04-20T14:08:17 | {} | NONE |
vuejs | core | 1,104,833,444 | 4,400 | m0dch3n | @LinusBorg
Reading this issue, I'm unsure if the following example is technically a bug:
[See playground](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuPGRpdj5cbiAgc29tZVRleHQ6IHt7IHNvbWVUZXh0IH19PGJyIC8+XG4gIG15Q29tcHV0ZWQ6IHt7IG15Q29tcHV0ZWQgfX08YnIgLz5cbiAgbXlDb21wdXRlZEZuOiB7eyBteUNvbXB1dGVkRm4oKSB9... | 2022-04-21T07:52:18 | 2022-04-21T08:58:02 | {
"+1": 7
} | NONE |
vuejs | core | 1,105,445,277 | 5,771 | brillout | I can confirm this bug, which is problematic for `vite-plugin-ssr` users. | 2022-04-21T16:29:33 | 2022-04-21T16:29:33 | {
"+1": 2
} | NONE |
vuejs | core | 1,106,358,518 | 5,761 | bodograumann | I don’t know how the key calculation for the `v-if` works, but maybe it would be good to allow defining the child keys manually, instead of using the index here.
Afaics the code can handle it in theory, but when I try to define the key on the parent template element as well as on each child, I get a compiler error:
`... | 2022-04-22T10:33:04 | 2022-04-22T10:33:04 | {} | NONE |
vuejs | core | 1,106,411,463 | 1,081 | NorseGaud | > > @aztalbot , this doesn't seem to work when using an empty object:
> > ```
> > const linkedNodes = reactive({})
> > . . .
> > Object.assign(links,{})
> > ```
>
> yes, same here, with empty object doesn't work.
Turns out this is a known thing! You can't do it! Highly recommend using ref() instead of rea... | 2022-04-22T11:14:39 | 2022-04-22T11:14:39 | {
"+1": 5
} | NONE |
vuejs | core | 1,103,653,044 | 5,218 | jzfai | When does the official plan to add this function?
https://github.com/vuejs/core/issues/5758 | 2022-04-20T08:58:07 | 2022-04-20T08:58:07 | {
"eyes": 1
} | NONE |
vuejs | core | 1,104,024,827 | 5,762 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 930b84eb8d5964e55dd7ae2c46eb7ef99a9fd1fc |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-04-20T14:50:22 | 2022-04-20T14:55:55 | {} | NONE |
vuejs | core | 1,104,788,449 | 5,763 | galaxy-s10 | > This behavior is documented and not really avoidable due to some TS limitations:
>
> https://vuejs.org/guide/typescript/options-api.html#caveats
thank you,and here's the answer:
https://v3.cn.vuejs.org/guide/typescript-support.html#%E6%B3%A8%E8%A7%A3-props
https://vuejs.org/guide/typescript/options-api.html#t... | 2022-04-21T06:53:28 | 2022-04-21T06:53:28 | {} | NONE |
vuejs | core | 1,104,862,006 | 5,765 | shadowings-zy | Hi, I create a PR to fix this issue, see #5770. | 2022-04-21T08:24:11 | 2022-04-21T08:24:11 | {
"+1": 1,
"heart": 2
} | CONTRIBUTOR |
vuejs | core | 1,106,514,398 | 5,782 | edison1105 | > @edison1105 Looks like it happens only in chromium browsers on Mac, Chrome (version: 100.0.4896.127), Brave & Edge has this issue; It works fine in Safari & Firefox.
oh~ I tested in chrome on Windows. | 2022-04-22T13:25:47 | 2022-04-22T13:25:47 | {} | MEMBER |
vuejs | core | 1,102,658,367 | 5,754 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | e467d4d93adf060f97511d3eb2db7ad24778b1c4 |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-04-19T13:29:17 | 2022-04-22T14:38:05 | {} | NONE |
vuejs | core | 1,106,757,796 | 5,772 | posva | This is working as expected because you are setting `:style="{left: item.left}"` so the style is set to the correct value when adding a new value. It would be a bug if it behaved differently.
In any case, you are not supposed to directly manipulate the DOM that is being handled by Vue. | 2022-04-22T18:26:03 | 2022-04-22T18:26:03 | {} | MEMBER |
vuejs | core | 1,103,646,307 | 5,758 | edison1105 | see https://github.com/vuejs/core/issues/5218 | 2022-04-20T08:53:29 | 2022-04-20T08:53:29 | {} | MEMBER |
vuejs | core | 1,103,659,943 | 5,218 | chencheng365 | When does the official plan to add this function?
This feature is very much needed in the project | 2022-04-20T09:03:02 | 2022-04-20T09:03:02 | {
"+1": 1,
"eyes": 1,
"rocket": 1
} | NONE |
vuejs | core | 1,103,709,513 | 4,528 | lvy-yao | > 请问找到问题了吗,我也是一样的问题
没找到 | 2022-04-20T09:38:14 | 2022-04-20T09:38:14 | {} | NONE |
vuejs | core | 1,103,820,463 | 5,756 | LinusBorg | Then this can stay closed as a duplicate of #4874 | 2022-04-20T11:23:45 | 2022-04-20T11:23:45 | {} | MEMBER |
vuejs | core | 1,100,143,073 | 5,726 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | e9266aae308bbd60291daf2ff9bacb843a423b03 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-04-15T14:29:59 | 2022-04-20T12:54:02 | {} | NONE |
vuejs | core | 1,103,971,403 | 5,760 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 27e1c872446d834bd8496fda78a3a401e4670625 |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-04-20T14:02:29 | 2022-04-20T14:03:19 | {} | NONE |
vuejs | core | 1,104,024,830 | 5,762 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 930b84eb8d5964e55dd7ae2c46eb7ef99a9fd1fc |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-04-20T14:50:22 | 2022-04-20T14:51:11 | {} | NONE |
vuejs | core | 1,105,233,010 | 5,772 | Justineo | It's working as expected because you were updating the DOM directly, bypassing Vue's component state.
See the fix [here](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IHJlZiwgcmVhY3RpdmUsIGNvbXB1dGVkIH0gZnJvbSAndnVlJ1xuICBcbmNvbnN0IGluZGVudCA9IHJlZigwKVxuXG5jb25zdCBsaXN0ID0gcmVhY3RpdmUoW1xuI... | 2022-04-21T13:47:59 | 2022-04-21T13:47:59 | {} | MEMBER |
vuejs | core | 1,040,726,805 | 4,836 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 73e035c161e85dba0a3a67e5044e86e06575febd |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-02-15T19:51:47 | 2022-04-22T06:52:03 | {} | NONE |
vuejs | core | 1,106,090,640 | 5,780 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | a776522131780b9342b808500ccc9428fe66e51e |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-04-22T07:15:15 | 2022-04-22T07:22:06 | {} | NONE |
vuejs | core | 1,105,823,305 | 5,777 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 7c1ac6bf4a54900513b67cebd748eb4243d021f8 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-04-21T22:29:13 | 2022-04-22T07:23:28 | {} | NONE |
vuejs | core | 1,106,559,992 | 5,784 | maiomiaoh | same problem as #5734 | 2022-04-22T14:14:39 | 2022-04-22T14:14:39 | {} | NONE |
vuejs | core | 1,102,658,378 | 5,754 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | e467d4d93adf060f97511d3eb2db7ad24778b1c4 |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-04-19T13:29:17 | 2022-04-22T14:39:54 | {} | NONE |
vuejs | core | 1,102,735,418 | 5,730 | LinusBorg | Stateful components do require that.
We can't change that behavior in 3.x for backwards compatibility. Most we can do is come up with a new option for enabling this on a per component Basis.
There has been some discussion about that In our RFC repo's discussions section, but it has dried up some time ago, there ... | 2022-04-19T14:37:10 | 2022-04-19T14:38:12 | {} | MEMBER |
vuejs | core | 1,103,664,199 | 5,218 | sxzz | I made a plugin [unplugin-vue-define-options](https://github.com/sxzz/unplugin-vue-define-options) to implement this feature, if you really need it. | 2022-04-20T09:06:00 | 2022-04-20T09:06:00 | {} | MEMBER |
vuejs | core | 1,103,795,269 | 5,751 | francyfrees | > Your key always change. You might want to use
>
> ```
> <router-view v-slot="{ Component, route }">
> <transition mode="out-in" name="fade">
> <keep-alive :include="cachedViewsDeep">
> <component :is="Component" :key="route.name || route.path" />
> </keep-alive>
> </... | 2022-04-20T10:52:36 | 2022-04-20T10:52:36 | {} | NONE |
vuejs | core | 1,104,612,190 | 5,768 | L1yp | >
谢谢 | 2022-04-21T01:19:49 | 2022-04-21T01:19:49 | {} | NONE |
vuejs | core | 1,104,823,257 | 5,769 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 6a8a428663c335bc530acfa48a95cb640525cf0f |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-04-21T07:40:01 | 2022-04-21T07:41:04 | {} | NONE |
vuejs | core | 1,105,344,952 | 5,767 | lingosandi | > @lingosandi the `vue3-bug-example` repo is missing the source. I might be having the same issue demoed at https://stackblitz.com/edit/vite-auuvqt?file=src%2Fcomponents%2FWrapper.vue
I've uploaded the code, thanks for catching that | 2022-04-21T15:03:33 | 2022-04-21T15:03:33 | {} | NONE |
vuejs | core | 1,103,685,388 | 5,756 | ted59438 | > Currently, props passed to app.mount() are non-reactive.
You got the point.
Currently, we can bind the ref to v-model of custom component in `<template>`:
```
<template>
<HelloWorld v-model:msg="msg">
</HelloWorld>
</template>
<script>
import HelloWorld from './components/HelloWorld.vue';
import... | 2022-04-20T09:20:57 | 2022-04-20T09:26:08 | {} | NONE |
vuejs | core | 1,104,582,595 | 994 | antoniandre | Consider this case for some context:
A tooltip component should not be constrained in an `overflow: hidden` parent, so it should be "teleported" to another place in the DOM (like in the body).
In the context of a UI library, this component would be used passing an activator slot which will trigger showing/hiding ... | 2022-04-21T00:36:05 | 2022-04-21T00:36:05 | {} | NONE |
vuejs | core | 1,106,113,050 | 5,777 | LinusBorg | I think this fix is the right direction. One thing we need to consider is that I have seen this type of code far too often in setup functions:
```js
let myFlag = ref(false)
return {
myFlag
}
```
And I think the current implementation of this fix would break such existing code as it would no longer assign... | 2022-04-22T07:38:25 | 2022-04-22T07:38:25 | {} | MEMBER |
vuejs | core | 1,106,491,777 | 5,761 | bodograumann | Off the top of my head I would say your solution sounds perfectly reasonable.
I expect, however, that the user’s expectation might be different depending on the situation.
That’s why I suggested allowing explicit keys for all raw children. | 2022-04-22T13:01:43 | 2022-04-22T13:01:43 | {
"+1": 1
} | NONE |
vuejs | core | 1,106,643,720 | 4,294 | jnarowski | +1 for needing this also. I try to wrap all components, especially third-party libraries so I need to be able to export their interfaces into the wrapped components. | 2022-04-22T15:49:28 | 2022-04-22T15:49:28 | {
"+1": 5
} | NONE |
vuejs | core | 1,188,811,160 | 6,300 | Justineo | Please provide a runnable reproduction with our SFC playground and create a new issue. Thank you. | 2022-07-19T09:20:25 | 2022-07-19T09:20:25 | {} | MEMBER |
vuejs | core | 1,192,218,668 | 6,329 | michaelmano | Thanks for the reply, nps i love v-model and love using it, guess I could create my own input binding like the one that exists `v-model.number` | 2022-07-22T06:08:54 | 2022-07-22T06:08:54 | {} | NONE |
vuejs | core | 1,194,408,347 | 4,662 | shareefhadid | > > > I've since found another workaround that doesn't require to import each component specifically. Assuming `customElement: true` in vite.config.ts is set:
> > > ```ts
> > > const styles: string[] = []
> > > const modules = import.meta.glob('./**/*.vue');
> > >
> > > for (const path in modules) {
> > > cons... | 2022-07-25T17:47:49 | 2022-07-25T17:47:49 | {} | NONE |
vuejs | core | 921,838,071 | 4,476 | gnuletik | Thanks for looking into this! Here are multiple use cases I encountered :
## Use case: async component
AppContext.vue
```vue
<template>
<slot />
</template>
<script setup>
// it could be a library like vue-i18n
provide('something', 'test')
</script>
```
MyComponent.vue
```vue
<script setup>
// ... | 2021-09-17T14:22:28 | 2022-07-19T17:27:18 | {} | NONE |
vuejs | core | 1,190,126,134 | 2,027 | zangbianxuegu | This happens to me when destructuring a ref without `.value`.
It looks like there's something wrong with request, the request is very slow, the page is stuck and can't interact. While the console shows the warnings. | 2022-07-20T10:51:51 | 2022-07-20T10:51:51 | {
"+1": 1
} | NONE |
vuejs | core | 1,195,485,404 | 6,360 | hubvue | Thanks. | 2022-07-26T13:28:40 | 2022-07-26T13:28:40 | {} | NONE |
vuejs | core | 1,188,648,984 | 6,248 | LinusBorg | > We have a huge project that utilizes both Options API and Composition API.
Are you saying that you have build lots of components with the above pattern and haven't tested a prod build until now?
> If a solution is likely not to be available in the foreseeable future
It might be a few more days or a week or t... | 2022-07-19T06:25:31 | 2022-07-19T06:46:17 | {} | MEMBER |
vuejs | core | 1,188,832,215 | 6,305 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 36397703cefdc3a75b85cee11066c8006eaff3f7 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-07-19T09:39:41 | 2022-07-19T09:39:41 | {} | NONE |
vuejs | core | 1,190,530,288 | 4,745 | adamxi | I can add that we managed to make it work the same as before using:
```
:deep() {
..
}
``` | 2022-07-20T17:02:28 | 2022-07-20T17:02:28 | {} | NONE |
vuejs | core | 1,191,357,487 | 5,202 | sqal | @LinusBorg I guess no new news on this issue? Do you have any information regarding the next milestone where this bug could be fixed/reviewed? | 2022-07-21T11:14:17 | 2022-07-21T11:14:17 | {} | CONTRIBUTOR |
vuejs | core | 1,192,603,003 | 6,313 | ennioVisco | > I don't know how the Vue.js team works and when I didn't get any feedback yet, I wanted to remind you again.
it works, like in any open source project, that you should tag maintainers in the pull request, not ping regular users in the original issue 😝 | 2022-07-22T13:56:32 | 2022-07-22T13:56:32 | {
"+1": 2,
"laugh": 1
} | NONE |
vuejs | core | 1,194,730,205 | 3,424 | rationalthinker1 | Just to add to this. Avoid placing complex objects in a reactive object. 3rd party plugin in an object doesn't need to be reactive. | 2022-07-25T22:44:10 | 2022-07-25T22:44:10 | {} | NONE |
vuejs | core | 1,188,929,755 | 4,662 | soultice | I've since found another workaround that doesn't require to import each component specifically.
Assuming `customElement: true` in vite.config.ts is set:
```typescript
const styles: string[] = []
const modules = import.meta.glob('./**/*.vue');
for (const path in modules) {
const mod = await modules[path]();
... | 2022-07-19T11:20:23 | 2022-07-19T11:42:55 | {
"+1": 4,
"eyes": 1
} | NONE |
vuejs | core | 1,188,959,103 | 3,652 | posva | This one is working when using the correct order:
```vue
<router-view v-slot="{ Component, route }">
<template v-if="Component">
<KeepAlive>
<Suspense>
<!-- main content -->
<component :key="route.path" :is="Component"></component>
<!-- loading state -->
... | 2022-07-19T11:53:44 | 2022-07-19T11:53:44 | {} | MEMBER |
vuejs | core | 1,190,134,527 | 6,315 | LinusBorg | This is expected. the value would only update asynchronously once the parent has triggered a re-render of the child.
If you need support in how to deal with this situation, please use our Discord server or stackoverflow. | 2022-07-20T11:01:32 | 2022-07-20T11:01:32 | {} | MEMBER |
vuejs | core | 1,191,864,537 | 1,539 | radusuciu | Another possible solution, at least if you're looking to avoid naming collisions, is to use css modules instead:
https://vuejs.org/api/sfc-css-features.html#css-modules
```Vue
<script lang="ts" setup>
import { h, useCssModule } from 'vue'
const classes = useCssModule('classes')
function render() {
re... | 2022-07-21T19:41:14 | 2022-07-21T19:41:14 | {
"+1": 1
} | NONE |
vuejs | core | 1,194,636,168 | 2,349 | arabyalhomsi | yes please, add this | 2022-07-25T21:12:33 | 2022-07-25T21:12:33 | {
"+1": 2
} | NONE |
vuejs | core | 1,195,439,814 | 6,360 | LinusBorg | It does make sense if you are aware that Vue uses ES6 Proxies for its reactivity, and a proxy object is not identical to its target object.
| 2022-07-26T12:49:52 | 2022-07-26T12:49:52 | {} | MEMBER |
vuejs | core | 1,195,457,667 | 6,360 | hubvue | @LinusBorg Yes, I'm working towards a deeper understanding of `reactivity`., I create a ref instance by calling the `ref` method and then call `unref` to get something other than the original object, which is a bit confusing, sorry, maybe I'm just not thinking straight. | 2022-07-26T13:05:12 | 2022-07-26T13:05:12 | {} | NONE |
vuejs | core | 1,194,793,191 | 6,351 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 58e63452016e2d2df5085da5cc910e54212facbb |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-07-26T00:00:25 | 2022-07-26T00:00:25 | {} | NONE |
vuejs | core | 1,189,436,313 | 4,662 | acu192 | @soultice's most recent ~~solution~~ _workaround_ is probably the best yet. Given that 1.453% of GH's users post 84.52195% of the patronizing comments, don't let it get you down! I'm glad to see your post.
Also callout to @lroal who suggested using a global stylesheet in the top-level component, as that is the parti... | 2022-07-19T18:46:59 | 2022-07-19T18:46:59 | {
"hooray": 1
} | NONE |
vuejs | core | 1,192,217,286 | 6,330 | LinusBorg | Hello ..
Thank your for your interest in this project.
However, your issue is a usage/support question, and the issue tracker is reserved exclusively for bug reports and feature requests (as outlined in our [Contributing Guide](https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md)).
We encourage you t... | 2022-07-22T06:06:43 | 2022-07-22T06:06:43 | {} | MEMBER |
vuejs | core | 1,192,214,373 | 6,329 | LinusBorg | Unfortunately, that's what Javascript does to a number with more than 21 digits when you convert it to a string (which happens in an input) It also happens when you do `console.log('' + 4444444444444444444444444)`, for example.
There's hacky ways around that like this one: https://stackoverflow.com/a/1685917
But ... | 2022-07-22T06:01:48 | 2022-07-22T06:24:08 | {
"+1": 3
} | MEMBER |
vuejs | core | 1,193,013,666 | 6,272 | lidlanca | then the workaround will work for you too. | 2022-07-23T00:03:45 | 2022-07-23T00:03:45 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,193,418,864 | 4,309 | shareefhadid | Is there any update on this? Not including the styles of child components makes it impossible to use component-based UI libraries in a custom element. Is that a bad practice to begin with, am I missing something? | 2022-07-24T23:39:00 | 2022-07-24T23:39:00 | {
"+1": 12
} | NONE |
vuejs | core | 1,189,954,048 | 6,310 | sxzz | 那我认为本问题到 vue-core 仓库提问就不太适合了。请 [附带最小复现仓库](https://antfu.me/posts/why-reproductions-are-required-zh) 在 [Stack Overflow](https://stackoverflow.com/questions/ask?tags=vue.js) (英文)、[中文社区](http://www.vue-js.com/) (非官方)、[官方论坛](https://forum.vuejs.org/) 或是 [SegmentFault](https://segmentfault.com/t/vue.js)(中文)搜索和提问
Then I d... | 2022-07-20T07:59:01 | 2022-07-20T07:59:01 | {} | MEMBER |
vuejs | core | 1,190,044,468 | 6,320 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 7eb3841054839cf7f47f9f912ddc06c4698448b2 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-07-20T09:27:51 | 2022-07-20T09:27:51 | {} | NONE |
vuejs | core | 1,192,484,766 | 6,272 | nickcarterney | I have the same issue :( | 2022-07-22T11:40:24 | 2022-07-22T11:40:24 | {} | NONE |
vuejs | core | 1,195,932,470 | 6,363 | mkierdev | Ok, now I see that array updated correctly, it was just the template that did not update (which was causing confusion and incorrect assumptions). | 2022-07-26T20:13:23 | 2022-07-26T20:16:00 | {} | NONE |
vuejs | core | 1,188,951,549 | 4,984 | posva | [This is indeed fixed](https://sfc.vuejs.org/#eNrlVUtz2jAQ/isa50IyflA66cGFtEwvPXd6izMdYdagYEseSXagGf57V5JfmKQpufYClvbb3W8f2n32lmUZ1hV4sTfXUJQ51XCXcELmO4AyoDmrgcSMp3m1hkXi3YdhaCTqIfEsDpGpKErBgWsEKsSkHGXzqLt29qLeoLtYVVoLTr6mOUt3Rm1L+QZQ1X3MIwdA8DwaUMOjSiUrjVmGHqQmz2QNGePwrfXoEwmZTwyDSsPaHGmq0bNPtPgBGTmSTIqCJB6GnnifO0uarj... | 2022-07-19T11:45:06 | 2022-07-19T11:45:06 | {} | MEMBER |
vuejs | core | 1,188,987,278 | 6,307 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 30c46ba9693e1129136458e41dc7a4148a065a21 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-07-19T12:24:21 | 2022-07-19T12:24:21 | {} | NONE |
vuejs | core | 1,189,145,713 | 4,662 | soultice | > > I've since found another solution that doesn't require to import each component specifically. Assuming `customElement: true` in vite.config.ts is set:
> > ```ts
> > const styles: string[] = []
> > const modules = import.meta.glob('./**/*.vue');
> >
> > for (const path in modules) {
> > const mod = await mo... | 2022-07-19T14:44:50 | 2022-07-19T14:44:50 | {} | NONE |
vuejs | core | 1,190,489,373 | 4,745 | rs3d | I'm having the same issue and would like to see, that ::v-deep could be supported in parallel or maybe to add an option to disable the warning. I'm currently migrating from webpack to vite (at least for development), but this is the last incompatibility I need to overcome (prod=webpack, dev=vite). | 2022-07-20T16:21:12 | 2022-07-20T16:21:12 | {} | NONE |
vuejs | core | 1,191,377,163 | 6,326 | Justineo | 请先给 Element Plus 提 issue,谢谢。 | 2022-07-21T11:37:15 | 2022-07-21T11:37:15 | {} | MEMBER |
vuejs | core | 1,191,412,700 | 6,219 | chenhaihong | > >
>
> 不行啊 调用parentComp.ctx.deacti 报错
我上传了一个示例代码,你可以看一下, [给 keep-alive 下的 component 接收的组件包上一层自定义 name 的壳](https://github.com/chenhaihong/keep-alive-wrap-customed-name/blob/50b14e813bdf1e748639c693753674ecd19a9304/src/components/HelloWorld.vue#L34)
| 2022-07-21T12:16:29 | 2022-07-21T12:16:29 | {} | NONE |
vuejs | core | 1,192,345,086 | 6,333 | hubvue | I think newTracked serves two purposes:
1. Avoid duplicate collection of a Dep under the same scope of the effect function
2. Mark Dep as active to avoid clearing in closing work
Would it be better to get named `activeTracked`?
> If I have misunderstood, then sorry to bother you | 2022-07-22T08:57:59 | 2022-07-22T08:57:59 | {} | NONE |
vuejs | core | 1,193,220,356 | 5,705 | tony19 | The WebKit team closed the issue as not reproducible. Are you still seeing the issue? | 2022-07-24T00:54:15 | 2022-07-24T00:54:15 | {} | CONTRIBUTOR |
vuejs | core | 1,195,073,526 | 6,350 | hubvue | Writing `declare global` in a file is not visible to the user, which is somewhat problematic here. | 2022-07-26T06:45:37 | 2022-07-26T06:45:37 | {} | NONE |
vuejs | core | 1,195,876,192 | 6,363 | LinusBorg | I'm a bit confused what you are having an issue with, exactly.
In JS, objects are passed as references. pushing an object to an array does not create a new object. So changing the object in `product.value` *of course* will affect the object in the array - because *they are the same object*. That's just JS.
I thi... | 2022-07-26T19:10:12 | 2022-07-26T19:14:28 | {} | MEMBER |
vuejs | core | 1,188,667,389 | 6,248 | Aniruddh-J |
> Are you saying that you have build lots of components with the above pattern and haven't tested a prod build until now?
Yes, it's an incoming project, so we didn't have control over it before the previous dev handed it over to us. So when we ran the production build, it failed.
Thanks for the snippet. Unfort... | 2022-07-19T06:49:52 | 2022-07-19T06:49:52 | {} | NONE |
vuejs | core | 1,188,952,727 | 5,747 | posva | This one seems to still be broken | 2022-07-19T11:46:21 | 2022-07-19T11:46:21 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,188,962,860 | 5,207 | posva | Closing in favor of https://github.com/vuejs/core/issues/5386 without vue-router involved | 2022-07-19T11:58:02 | 2022-07-19T11:58:02 | {} | MEMBER |
vuejs | core | 1,189,965,591 | 6,310 | littleweb | > 那我认为本问题到 vue-core 仓库提问就不太适合了。请 [附带最小复现仓库](https://antfu.me/posts/why-reproductions-are-required-zh) 在 [Stack Overflow](https://stackoverflow.com/questions/ask?tags=vue.js) (英文)、[中文社区](http://www.vue-js.com/) (非官方)、[官方论坛](https://forum.vuejs.org/) 或是 [SegmentFault](https://segmentfault.com/t/vue.js)(中文)搜索和提问
>
> Th... | 2022-07-20T08:11:25 | 2022-07-20T08:11:25 | {} | NONE |
vuejs | core | 1,190,987,656 | 6,235 | zezhongmiao | > fix #6225
pruneCache(name => matches(include, name)) 匹配正则的时候 带上key 是不是也可以 include :{ test : (name,key)=>{ 根据key 删除缓存 } } | 2022-07-21T03:10:12 | 2022-07-21T03:10:12 | {} | NONE |
vuejs | core | 1,191,377,412 | 6,326 | zyn-github | 这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。 | 2022-07-21T11:37:33 | 2022-07-21T11:37:33 | {} | NONE |
vuejs | core | 1,192,427,373 | 6,338 | hubvue | This will prevent the collection of dependencies.
https://github.com/vuejs/core/blob/a95554d35c65e5bfd0bf9d1c5b908ae789345a6d/packages/reactivity/src/effect.ts#L213-L222 | 2022-07-22T10:28:33 | 2022-07-22T10:28:33 | {} | NONE |
vuejs | core | 1,192,619,554 | 6,065 | MoodyBones | Hi [xflyyxfl](https://github.com/xflyyxfl), thanks for sharing have you got any info on this?
I'm getting something similar, I tested it in Chrome & Safari and the UI input isn't updating properly. the function works as it should and i can see the variable updating in the devtools, but the UI doesn't update on ENTE... | 2022-07-22T14:14:46 | 2022-07-22T14:14:46 | {} | NONE |
vuejs | core | 1,195,406,177 | 6,360 | hubvue | Sorry if this is expected behaviour, I will close this issue, otherwise I can mention PR to fix it. | 2022-07-26T12:15:18 | 2022-07-26T12:15:18 | {} | NONE |
vuejs | core | 1,189,055,028 | 6,308 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 03932a9b16cd46a10f64084dd5e789b5bcb3c961 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-07-19T13:28:36 | 2022-07-19T13:28:36 | {} | NONE |
vuejs | core | 1,188,758,858 | 6,303 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | ed34ec44a96570f7ca12aa09e7fcdd69bdda4878 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-07-19T08:30:55 | 2022-07-19T23:45:54 | {} | NONE |
vuejs | core | 1,191,506,749 | 6,318 | Dids | I can both confirm this issue, as well as that the fix in https://github.com/vuejs/core/pull/6320 works.
See also this StackOverflow question for more context:
https://stackoverflow.com/questions/72743336/vite-vue3-throws-internal-server-error-experimental-syntax-missing-parser-plu | 2022-07-21T13:46:01 | 2022-07-21T13:52:53 | {} | NONE |
vuejs | core | 1,193,036,286 | 5,584 | ETIM-PAUL | [ArkoxHub](https://github.com/ArkoxHub) I was having the same error, i don't know why this method works. But it has really helped for now | 2022-07-23T01:56:05 | 2022-07-23T01:56:05 | {} | NONE |
vuejs | core | 1,193,397,296 | 4,662 | shareefhadid | > I've since found another workaround that doesn't require to import each component specifically. Assuming `customElement: true` in vite.config.ts is set:
>
> ```ts
> const styles: string[] = []
> const modules = import.meta.glob('./**/*.vue');
>
> for (const path in modules) {
> const mod = await modules[pa... | 2022-07-24T21:27:07 | 2022-07-24T21:27:07 | {} | NONE |
vuejs | core | 1,189,795,119 | 6,310 | sxzz | ```ts
defineAsyncComponent(() => import('/path/to/page1.js').then(m => m.default))
``` | 2022-07-20T03:51:52 | 2022-07-20T03:51:52 | {} | MEMBER |
vuejs | core | 1,189,924,281 | 6,314 | LinusBorg | What would be `K`, if not the value you provide - which in your API is `T`?
I don't understand what the goal of this change would be. | 2022-07-20T07:25:21 | 2022-07-20T07:25:21 | {} | MEMBER |
vuejs | core | 1,190,971,375 | 6,219 | zezhongmiao | >
不行啊 调用parentComp.ctx.deacti 报错 | 2022-07-21T02:37:28 | 2022-07-21T02:37:28 | {} | NONE |
vuejs | core | 1,191,301,883 | 4,662 | murphybob | I would absolutely reiterate that this should be mentioned in the docs. I was having a merry old time working on a new custom element until I hit this roadblock.
Unless I'm misunderstanding this issue, this essentially means that any Vue based custom element can only usefully exist as a lone component with no other ... | 2022-07-21T10:11:38 | 2022-07-21T10:11:38 | {
"+1": 15
} | NONE |
vuejs | core | 1,191,338,536 | 4,662 | rafaelgondim | I'm following this "thread" for a while, thought it would be valid to join the group. This is a relevant problem. | 2022-07-21T10:51:49 | 2022-07-21T10:51:49 | {} | NONE |
vuejs | core | 1,193,741,622 | 6,219 | chenhaihong | 我自己项目上用没出现问题。
你这边是有报错还是警告吗?贴一下看看。 | 2022-07-25T08:25:49 | 2022-07-25T08:25:49 | {} | NONE |
vuejs | core | 1,195,435,434 | 6,360 | hubvue | @LinusBorg I meant `unref(ref(obj)) ! == obj` This doesn't seem to make common sense in life. If this is what is expected here, I personally feel that `unref` might be more realistically renamed to `getRefValue`. 😄 | 2022-07-26T12:45:37 | 2022-07-26T12:46:12 | {} | NONE |
vuejs | core | 1,195,478,014 | 6,360 | LinusBorg | * `ref()` applies `reactive()` to any object you pass to it [docs](https://vuejs.org/api/reactivity-core.html#ref)
* `reactive()` returns a reactive proxy, not the original [docs](https://vuejs.org/api/reactivity-core.html#reactive)
* A proxy is not identical to the nonreactive original value that it represents.
>... | 2022-07-26T13:21:58 | 2022-07-26T13:23:34 | {} | MEMBER |
vuejs | core | 1,195,927,004 | 6,363 | LinusBorg | Manipulating a nonreactive array will not cause a re-render, so the ouput in the html does not change. That's also expected.
You can see that the plain array also changed when you change the reactive one - then the component updates the whole template and you see both arrays containing the new property.
Still all exp... | 2022-07-26T20:07:12 | 2022-07-26T20:08:38 | {} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.