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 | 2,287,825,665 | 11,608 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------- | ------- | ------- |
| runtime-dom.global.prod.js | 98.7 kB | 37.4 kB | 33.7 kB |
| vue.global.prod.js | 156 kB | 57.2 kB | 50.8 kB |
### Usages
| Name | Size |... | 2024-08-14T04:21:59 | 2024-08-14T04:21:59 | {} | NONE |
vuejs | core | 2,288,154,227 | 11,603 | p3k | I have the same issue not using Jest but Mocha. | 2024-08-14T08:28:47 | 2024-08-14T08:28:47 | {} | NONE |
vuejs | core | 2,288,351,090 | 11,613 | edison1105 | It seems a bug with `esbuild`.
a workaround: use `lightningcss` instead. or `cssMinify: false`
```ts
export default defineConfig({
plugins: [vue()],
build:{
cssMinify: 'lightningcss',
}
});
``` | 2024-08-14T10:03:39 | 2024-08-14T10:03:39 | {} | MEMBER |
vuejs | core | 2,290,164,503 | 11,613 | edison1105 | Closing as not related to vue | 2024-08-15T00:42:19 | 2024-08-15T00:42:19 | {} | MEMBER |
vuejs | core | 2,290,751,349 | 11,620 | jh-leong | > I'm not sure if the obj defined in props and the obj modified with toRef make sense
When using `toRef` ([docs](https://vuejs.org/api/reactivity-utilities.html#toref)), it should be applied to a reactive source. However, `props` is not reactive, so using `toRef` on them might not work as expected.
> how to deter... | 2024-08-15T06:27:50 | 2024-08-15T06:27:50 | {} | MEMBER |
vuejs | core | 2,290,826,971 | 10,652 | ferferga | @yyx990803 Sorry for the ping, but can we get a review on this to hopefully have this in before 3.5.0 stable? As stated above, Suspense has long-standing issues with Transition for years and this is a simple fix that will get it finally resolved. | 2024-08-15T07:41:07 | 2024-08-15T07:41:07 | {} | CONTRIBUTOR |
vuejs | core | 2,292,617,152 | 11,630 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------- | ------- | ------- |
| runtime-dom.global.prod.js | 98.7 kB | 37.4 kB | 33.7 kB |
| vue.global.prod.js | 156 kB | 57.2 kB | 50.9 kB |
### Usages
| Name | Size |... | 2024-08-16T02:25:20 | 2024-08-16T02:25:20 | {} | NONE |
vuejs | core | 2,283,464,145 | 11,369 | edison1105 | > @edison1105 Like that?
Yes | 2024-08-12T09:12:10 | 2024-08-12T09:12:10 | {} | MEMBER |
vuejs | core | 2,285,166,440 | 7,928 | LIUSHUAI2018 | 我也需要这样的功能 | 2024-08-13T01:20:54 | 2024-08-13T01:20:54 | {} | NONE |
vuejs | core | 2,285,399,298 | 11,597 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------- | ------- | ------- |
| runtime-dom.global.prod.js | 98.8 kB | 37.4 kB | 33.7 kB |
| vue.global.prod.js | 156 kB | 57.2 kB | 50.8 kB |
### Usages
| Name | Size |... | 2024-08-13T06:01:35 | 2024-08-13T06:01:35 | {} | NONE |
vuejs | core | 2,285,935,550 | 11,601 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 98.8 kB (**+24 B**) | 37.4 kB (**+26 B**) | 33.7 kB (**+15 B**) |
... | 2024-08-13T10:41:31 | 2024-08-13T10:41:31 | {} | NONE |
vuejs | core | 2,290,935,058 | 11,579 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/10401395229)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/10381674293) |
|-------|--------|----------------|
| language-tools | :x: [failure](https://github.com/vuejs/ecosystem-ci/actions/runs/1... | 2024-08-15T09:05:50 | 2024-08-15T09:05:50 | {} | CONTRIBUTOR |
vuejs | core | 2,291,676,064 | 11,611 | Disservin | @rizypb btw it would have been nice if you included the feedback from https://github.com/vuetifyjs/vuetify/issues/20256 in your issue here instead of copy pasting the issue you submitted to vuetify | 2024-08-15T16:32:04 | 2024-08-15T16:32:04 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 2,291,887,517 | 11,569 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | cee2536cbd0cef7e0e096db7c0d57297aad29898 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/vue... | 2024-08-15T18:14:32 | 2024-08-15T18:14:32 | {} | NONE |
vuejs | core | 2,291,901,084 | 11,569 | Disservin | I moved it out of the parser and into the transform, I think this makes more sense? | 2024-08-15T18:22:57 | 2024-08-15T18:22:57 | {} | CONTRIBUTOR |
vuejs | core | 2,292,506,309 | 11,478 | Procrustes5 | CI fails with updating branch. How can I fix it? | 2024-08-16T00:27:58 | 2024-08-16T00:27:58 | {} | CONTRIBUTOR |
vuejs | core | 1,877,101,367 | 9,998 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------- | ------- | ------- |
| runtime-dom.global.prod.js | 98.7 kB | 37.4 kB | 33.7 kB |
| vue.global.prod.js | 156 kB | 57.2 kB | 50.9 kB |
### Usages
| Name | Size |... | 2024-01-04T13:32:27 | 2024-08-16T03:31:06 | {} | NONE |
vuejs | core | 2,283,496,852 | 5,970 | edison1105 | Closing as it can not reproduce in the latest verion | 2024-08-12T09:29:27 | 2024-08-12T09:29:27 | {} | MEMBER |
vuejs | core | 2,283,988,240 | 11,593 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 98.7 kB (**-15 B**) | 37.4 kB (**-13 B**) | 33.7 kB (**-12 B**) |
... | 2024-08-12T13:24:39 | 2024-08-12T13:24:39 | {} | NONE |
vuejs | core | 2,285,230,458 | 5,747 | edison1105 | Closing as it can not reproduce anymore. see [playground](https://play.vuejs.org/#eNqlVdtO3DAQ/RWTl12kJVugfdluKJfy0FaFquxbU1UhmSyBxI5iO2yF9t87tmMnTrlJSIi1x8czZy7HeQhO6jpsJQSLYCmgqstEwFFMCVlmRWsW11IIRslxWhbpXRQHjJ6p1Yqt1yXEgQYR0m3Vhbm50R0svwHUJ2XRAlkUNC1lBugkSQVaPhdJydbcOUF0yqqaUaCCtHtFjsi0qi+SCgPhde7v7+BvbwipsR5jNouKSS... | 2024-08-13T02:33:27 | 2024-08-13T02:33:27 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,286,373,664 | 11,604 | Gianthard-cyh | Good job! But I think this won't fix the issue since it's not something really wrong with Vue itself. Please take a look at my comment here for more details: [link](https://github.com/vuejs/core/issues/11602#issuecomment-2286343536). | 2024-08-13T14:16:50 | 2024-08-13T14:16:50 | {} | CONTRIBUTOR |
vuejs | core | 2,287,692,863 | 11,602 | edison1105 | I agree with @Gianthard-cyh.
According to pinia's documentation, the current behavior is expected.
[useNuxtApp().vueApp](https://nuxt.com/docs/api/composables/use-nuxt-app#vueapp) in app.vue
```vue
<script setup lang="ts">
const app = useNuxtApp().vueApp;
app.provide('test', 'hi as primitive');
app.provide('t... | 2024-08-14T02:03:01 | 2024-08-14T02:03:53 | {
"+1": 3
} | MEMBER |
vuejs | core | 2,288,003,609 | 6,887 | filamin | There is a similar problem. I need to migrate component from Vue2 to Vue3 and there is a logic of removing directive by name in the component. The field `name` in the current `DirectiveBinding` would help. | 2024-08-14T07:05:20 | 2024-08-14T07:05:20 | {} | NONE |
vuejs | core | 2,285,122,589 | 11,023 | Rusinas | @yyx990803 I beg You 😭 | 2024-08-13T00:26:48 | 2024-08-13T00:26:48 | {} | NONE |
vuejs | core | 2,289,403,997 | 11,603 | yashjainyj | > I have the same issue not using Jest but Mocha.
Did you try the below solution
As a temporary fix, set the Vue version to 3.4.27 without the caret (^) to prevent automatic updates.
| 2024-08-14T17:27:52 | 2024-08-14T17:28:22 | {} | NONE |
vuejs | core | 2,290,358,728 | 11,616 | yyx990803 | The regex-based fix is unsound, so I decided to go with AST-based check in non-browser builds. When compiling in browser, there won't be TS syntax anyway.
See 586122947 | 2024-08-15T02:00:00 | 2024-08-15T02:00:00 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,290,912,339 | 11,622 | edison1105 | @yangxiuxiu1115
Thank you for the PR. There is already an existing PR #11619.
I believe that if there is an existing PR that has addressed the issue and its changes are almost correct, we should review it rather than submit a new one, unless the existing PR does not address the problem correctly. This approach is... | 2024-08-15T08:50:14 | 2024-08-15T08:50:14 | {
"heart": 1,
"rocket": 1
} | MEMBER |
vuejs | core | 2,290,927,216 | 11,622 | yangxiuxiu1115 | I realized that #11619 didn't solve the problem so I submitted this PR, but the commit history for #11619 has related commits. I've closed this PR. | 2024-08-15T09:00:23 | 2024-08-15T09:00:23 | {} | CONTRIBUTOR |
vuejs | core | 2,291,003,342 | 11,625 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------ | ------------------ | ------------------- |
| runtime-dom.global.prod.js | 98.7 kB (**+6 B**) | 37.4 kB (**+6 B**) | 33.7 kB (**-56 B**) |
| vue.... | 2024-08-15T09:59:48 | 2024-08-15T09:59:48 | {} | NONE |
vuejs | core | 2,291,061,763 | 11,487 | zumm | @k983551019 You should mark props as optional, `withDefaults` doesn't do it for you in case of generic for some reason. Don't know why tho. | 2024-08-15T10:49:21 | 2024-08-15T10:49:42 | {
"confused": 1
} | NONE |
vuejs | core | 2,291,887,704 | 11,569 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-next-template-explorer* failed.
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | cee2536cbd0cef7e0e096db7c0d57297aad29898 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/s... | 2024-08-15T18:14:41 | 2024-08-15T18:14:41 | {} | NONE |
vuejs | core | 2,292,504,614 | 11,478 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 15a52697ca8383bc55dab3002efdfa3282e68d7f |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/vue... | 2024-08-16T00:25:46 | 2024-08-16T00:25:46 | {} | NONE |
vuejs | core | 2,285,637,517 | 9,159 | danbirle | @sxzz bruv. we need this. approved when? i can't fix my bug unless i pass a ref returning method but that looks so much uglier. pls eye this 👀 | 2024-08-13T08:14:48 | 2024-08-13T08:14:48 | {} | NONE |
vuejs | core | 2,287,294,609 | 11,602 | Anoesj | Hmm, okay. This hasn't been documented anywhere as far as I know. Nuxt is very "app.vue-oriented", so I don't think I'm wrong to assume this would have worked. So what is the correct scope to provide into? It's really hard for people to understand all the scopes that come into play in a Vue app. Do I use `useNuxtApp().... | 2024-08-13T22:43:13 | 2024-08-13T22:45:10 | {} | NONE |
vuejs | core | 2,287,733,926 | 11,606 | edison1105 | @road2coder
> It works, Thank You. This means I should create VNodes in the render function not the setup, right?
correct~
Or use [useCssModule](https://vuejs.org/api/sfc-css-features.html#usage-with-composition-api) to apply class in setup
| 2024-08-14T02:50:04 | 2024-08-14T03:03:02 | {} | MEMBER |
vuejs | core | 2,290,183,859 | 11,604 | yyx990803 | It should not fallback because that would make the behavior of Pinia stores indeterministic. | 2024-08-15T00:56:29 | 2024-08-15T00:56:29 | {} | MEMBER |
vuejs | core | 2,290,791,644 | 11,619 | edison1105 | I'm pretty sure the previous fix is proper.
Is there any reason why you changed it?
| 2024-08-15T07:09:11 | 2024-08-15T07:09:35 | {} | MEMBER |
vuejs | core | 1,903,468,845 | 10,177 | LinusBorg | Vue 3.4 may require an upgrde of Vite, or at least `@vitejs/plugin-vue`, to 5.0
See also: https://blog.vuejs.org/posts/vue-3-4#potential-actions-needed
Though this particular error doesn't seem to be related to that, `createBlock` is an export of Vue in 3.3 and 3.4. | 2024-01-22T08:19:22 | 2024-01-22T08:20:20 | {} | MEMBER |
vuejs | core | 1,904,164,967 | 6,548 | daaanny90 | It would be great to see this merged! 😺 | 2024-01-22T14:50:16 | 2024-01-22T14:50:16 | {} | NONE |
vuejs | core | 1,905,255,410 | 10,187 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/7620823698)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/7606675100) |
|-------|--------|----------------|
| language-tools | :white_check_mark: [success](https://github.com/vuejs/ecosystem-ci/a... | 2024-01-23T04:04:12 | 2024-01-23T04:04:12 | {} | CONTRIBUTOR |
vuejs | core | 1,903,602,523 | 10,098 | edison1105 | >The same error happens when you're switching between pages that has the <NuxtLayout> while a promise is still resolving.
Happens even when only using default layout and even with a single root node inside page templates. No workaround available for this one im afraid.
Reproduction here: Try switching fast between ... | 2024-01-22T09:39:42 | 2024-01-23T07:18:11 | {
"+1": 6,
"heart": 4,
"rocket": 2
} | MEMBER |
vuejs | core | 1,905,675,339 | 10,185 | basvanmeurs | > The reactivity refactoring in 3.4 could actually work in favor of this. If a computed retriggers itself we now have the chance to immediately re-evaluate as part of the value getter, before even triggering deps! Of course we needto watch out for infinite recursion and console.warn in case it happens..
A PR that ex... | 2024-01-23T09:47:40 | 2024-01-23T09:47:40 | {} | CONTRIBUTOR |
vuejs | core | 1,910,858,817 | 10,214 | pdesmarais | > Got this issue earlier today when updating to 3.4.15. Checking at where this is happening, I don't think I have any side effects from computed values but I do have a reference to an external class which might be causing this. Checking if I can build a repro for this.
So, please ignore my previous comment. I fixed ... | 2024-01-25T19:37:44 | 2024-01-25T19:37:44 | {
"+1": 1
} | NONE |
vuejs | core | 1,911,014,421 | 10,184 | AndrewBogdanovTSS | @edison1105 is there anything that's blocking this PR from being merged? | 2024-01-25T21:19:26 | 2024-01-25T21:19:26 | {
"+1": 6
} | NONE |
vuejs | core | 1,911,367,181 | 10,218 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------ | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 90.2 kB | 34.4 kB | 30.9 kB |
| v... | 2024-01-26T03:20:38 | 2024-01-26T08:11:12 | {} | NONE |
vuejs | core | 1,913,389,123 | 10,036 | Threebow | Having same issue as above (#10020 where it cannot resolve velocityjs). I don't use velocityjs in any of my code. I am on the latest version of vue/compiler-sfc. Not sure if I should make another issue, as #10020 is closed however seems to be not yet fixed as noted above. | 2024-01-28T00:42:48 | 2024-01-28T00:43:30 | {} | NONE |
vuejs | core | 1,914,418,300 | 10,214 | pjninnim | I've got the same issue which was not present within 3.4.14. Here is simple replication of how I've managed generate the error along with a work around. I hope this help!
https://play.vuejs.org/#eNqNU01v2zAM/SuCLk2BRMaQ7RKkQdehh+2wDtuOvrg2naqxPiDRbgDD/72UFbuuUwS9RBEf+d4jRbf8u7WiqYFv+NbnTlpkHrC2u1RLZY1D1jIHWY6ygSXLjb... | 2024-01-29T10:39:49 | 2024-01-29T10:39:49 | {} | NONE |
vuejs | core | 1,903,977,402 | 10,167 | juliusmarminge | > The last two are expected to error from what I could gather form the code.
Yes but it still autocompletes the other, invalid fields which is unexpected | 2024-01-22T13:10:52 | 2024-01-22T13:10:52 | {} | NONE |
vuejs | core | 1,904,303,583 | 10,156 | gbyesiltas | Same here ✋ I also get [this error](https://github.com/vuejs/core/issues/10118) sometimes trying to navigate on Nuxt 3 | 2024-01-22T15:56:46 | 2024-01-22T15:56:46 | {
"+1": 1
} | NONE |
vuejs | core | 1,904,445,948 | 10,185 | Doctor-wu | Wait... I think maybe this should work like this [case](https://github.com/vuejs/core/pull/10123/files#diff-8b6371f1cba1a1d8399a631368d4393d7195bf5c28795134da576c5b2a7df8adR503-R522)?
The difference is the `c2` is `MaybeDirty`. | 2024-01-22T17:11:30 | 2024-01-22T17:11:30 | {} | MEMBER |
vuejs | core | 1,904,482,583 | 10,156 | LinusBorg | duplicate #10098 | 2024-01-22T17:32:39 | 2024-01-22T17:32:39 | {} | MEMBER |
vuejs | core | 1,911,009,783 | 10,216 | LinusBorg | That is by design.
If normal Vue child components all would be rendering actual `<slot>` DOM elements, you would lose the ability to use Vue slots in any child component that you use in your web component.
What you can do is this:
```html
<script setup>
import NestedBox from './nested-box.vue';
</script>
... | 2024-01-25T21:15:50 | 2024-01-25T21:16:31 | {} | MEMBER |
vuejs | core | 1,911,721,996 | 9,335 | andredewaard | @StepanMynarik Thanks, i think i would be using the old way with modelValue and `emit` the only problem with this is that we still emit all possible options because they are separate types.
Example:
```ts
export type OptionProps = {
value: string | number
label: string
}
interface BaseProps {
options... | 2024-01-26T09:17:01 | 2024-01-26T09:17:01 | {} | NONE |
vuejs | core | 1,912,286,597 | 8,555 | daniluk4000 | @baiwusanyu-c sorry to bother, does team have any plans on reviewing & merging this? | 2024-01-26T15:52:08 | 2024-01-26T15:52:24 | {} | NONE |
vuejs | core | 1,913,323,242 | 9,363 | Threebow | +1
This is a very much-needed fix for those who depend on newer versions of vue-loader, and who (quite understandably) don't want to disable noImplicityAny or resort to other hacky methods as described in [vuejs/vue-loader#1915](https://github.com/vuejs/vue-loader/issues/1915)
It should be a necessity to generate... | 2024-01-27T20:10:59 | 2024-01-27T20:11:29 | {} | NONE |
vuejs | core | 1,791,831,968 | 7,787 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | -------------------- | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 90.3 kB (**+131 B**) | 34.4 kB (**+38 B**) | 31 kB (**+50 B**) ... | 2023-11-03T02:47:28 | 2024-01-29T07:05:25 | {} | NONE |
vuejs | core | 1,903,807,146 | 9,995 | mitar | I realized that the simplest thing here would be that vue-router would simply wrap automatically all its "lazy loaded components" with `defineAsyncComponent`? So if `component` argument to the route is a callback (for lazy loading), call `defineAsyncComponent` on that callback and this is it? | 2024-01-22T11:28:36 | 2024-01-22T11:28:36 | {} | NONE |
vuejs | core | 1,900,651,663 | 10,069 | paro-paro | Hi @yyx990803
Sorry to bother... but I just realized that this issue has being marked as low priority ("edge case that only affects a very specific use case") and I don't think that is the case since is heavily affecting nuxt + vuetify users (seems like element users as well).
You cannot make a simple "getting s... | 2024-01-19T15:42:13 | 2024-01-22T23:11:41 | {
"heart": 6
} | NONE |
vuejs | core | 1,905,671,879 | 10,189 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------ | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 90.2 kB (**-2 B**) | 34.3 kB (**-13 B**) | 31 kB (**+19 B**) |
| v... | 2024-01-23T09:45:37 | 2024-01-23T09:45:37 | {} | NONE |
vuejs | core | 1,910,838,348 | 10,214 | pdesmarais | Got this issue earlier today when updating to 3.4.15. Checking at where this is happening, I don't think I have any side effects from computed values but I do have a reference to an external class which might be causing this. Checking if I can build a repro for this. | 2024-01-25T19:22:53 | 2024-01-25T19:22:53 | {} | NONE |
vuejs | core | 1,911,287,524 | 10,175 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-next-template-explorer* failed.
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 0d43ad43494a99a5064837be64b36a014d95d767 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/s... | 2024-01-26T01:57:17 | 2024-01-26T01:57:17 | {} | NONE |
vuejs | core | 1,913,705,024 | 10,225 | reinerBa | Thanks 🤩.
That explains why I wasn't able to find the bug in the error build files 😁
Good to know that I only have update my dependencies. | 2024-01-28T19:57:48 | 2024-01-28T19:57:48 | {} | NONE |
vuejs | core | 1,905,158,065 | 10,185 | Doctor-wu | > It should be fixed by #10187. It would be helpful if you could provide a minimal test case.
~~I can provide a minimal test later~~ Already done | 2024-01-23T02:02:14 | 2024-01-23T02:09:14 | {} | MEMBER |
vuejs | core | 1,907,565,319 | 10,194 | Doctor-wu | reproduction in [playground](https://play.vuejs.org/#eNqNVEtu2zAQvcpAG8uAbSHNTpGNtkEKtIumaLqLslCkUcyEogh+VBeGbtAr9HI9SYeiPq7zge2FyJnHeW8+5D74IOWqsRjEQaJzxaQBjcbKTSoAWCVrZWCvsFxAXlfSGiyghVLVFczo1Myh8lpoA7U0jBawBkKHt6lIjf/vRVZhDLNPTGkzW0CTcev2Z7N28Rx1gxSuOIC9O4DdzSc+jRxzJ6cnfO674lihMLAOaetWc1hvYD8EGwKsOqaVtHo7AL1pfuGg7RS... | 2024-01-24T07:40:06 | 2024-01-24T09:13:18 | {} | MEMBER |
vuejs | core | 1,910,504,695 | 10,210 | LinusBorg | The reproduction link doesn't reproduce the issue. Please provide a repo that actually allows us to reproduce the issue. | 2024-01-25T16:02:13 | 2024-01-25T16:02:13 | {} | MEMBER |
vuejs | core | 1,903,427,847 | 10,172 | haoqunjiang | Expected. Such usage is explicitly documented as a bad practice: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free | 2024-01-22T07:48:10 | 2024-01-22T07:48:10 | {
"+1": 1,
"-1": 2
} | MEMBER |
vuejs | core | 1,904,336,656 | 10,185 | Doctor-wu | 
And the dirtyLevel are indeed correct | 2024-01-22T16:13:23 | 2024-01-22T16:13:23 | {} | MEMBER |
vuejs | core | 1,904,364,248 | 10,156 | ferferga | As it's been reopened, this issue is now a duplicate of #10098
PR fixing this: #10184 | 2024-01-22T16:27:34 | 2024-01-22T16:28:04 | {} | CONTRIBUTOR |
vuejs | core | 1,906,127,329 | 10,192 | zimoua | This is a proposal I submitted for this bug.
#10193 | 2024-01-23T14:04:21 | 2024-01-24T06:16:04 | {} | NONE |
vuejs | core | 1,910,893,636 | 10,203 | goodwan | any workaround how to pass `ref(new Map<string, K>)` or `reactive(new Map<string, K>)` to `function test<K>(m: Map<string, K>)`?
what type should `m` have? neither `Map` nor `Ref<Map>` works | 2024-01-25T19:54:21 | 2024-01-25T19:54:21 | {} | NONE |
vuejs | core | 1,911,470,087 | 10,184 | edison1105 | @AndrewBogdanovTSS
It requires reviews from other members | 2024-01-26T04:40:56 | 2024-01-26T04:40:56 | {
"+1": 3,
"eyes": 1
} | MEMBER |
vuejs | core | 1,912,712,184 | 10,203 | goodwan | it looks like UnwrapRefSimple is not exported
| 2024-01-26T21:21:23 | 2024-01-26T21:21:23 | {} | NONE |
vuejs | core | 1,903,973,481 | 10,167 | pikax | @juliusmarminge in pure TSX it seems to be working

The last two are expected to error from what I could gather form the code.
When using on `.vue` in a `<template>` the responsibility of getting the generics right fall... | 2024-01-22T13:08:37 | 2024-01-22T13:08:37 | {} | MEMBER |
vuejs | core | 1,903,985,013 | 10,167 | juliusmarminge | wait the generated one doesn't work, we don't get any autocompletion?


I'd also expect these pairs to behave the same, they should all error but the generated ones arent | 2024-01-22T13:16:33 | 2024-01-22T13:16:33 | {} | NONE |
vuejs | core | 1,904,264,987 | 10,185 | Doctor-wu | That's the expected behavior, because `computed` are now only re-calculate and trigger effects when their return values changed.
In your reproduction, the `test` returned value never changed, so the `test` didn't trigger effects are desirable behavior.
You can refer to [Evan's explaination](https://github.com/vuejs/... | 2024-01-22T15:37:56 | 2024-01-22T15:37:56 | {} | MEMBER |
vuejs | core | 1,905,473,676 | 4,314 | LukeBridges | Any news on this? This is quite a major issue - and a decision we can't understand to force a shadowRoot without a choice.
Our really bad work around is to set a mutation observer on <head> to watch for <link> or <style> and copy them whole hog into the shadowRoot from inside. However this is not at all reliable for... | 2024-01-23T07:53:01 | 2024-01-23T07:53:01 | {} | NONE |
vuejs | core | 1,911,300,525 | 10,203 | yangxiuxiu1115 | You can declare types like this:`const fn = <T>() => {
const m: Ref<Map<string, UnwrapRefSimple<T>>> = ref(new Map<string, T>())
}` | 2024-01-26T02:13:55 | 2024-01-26T02:13:55 | {} | CONTRIBUTOR |
vuejs | core | 1,912,786,852 | 3,399 | matthew-dean | Can this be merged? | 2024-01-26T22:37:08 | 2024-01-26T22:37:08 | {
"eyes": 4
} | NONE |
vuejs | core | 1,913,364,666 | 10,224 | LinusBorg | This is not a bug report | 2024-01-27T23:19:45 | 2024-01-27T23:19:45 | {} | MEMBER |
vuejs | core | 1,913,512,502 | 10,177 | haoqunjiang | Can't reproduce.
Could you please provide a stable reproduction with a lockfile? | 2024-01-28T08:21:54 | 2024-01-28T08:21:54 | {} | MEMBER |
vuejs | core | 1,903,528,372 | 10,167 | pikax | @juliusmarminge I don't think your component is correct, your component is returning a function with a function, it should be just `defineComponent`
```ts
export const UploadButton = defineComponent(
<TRouter extends FileRouter, TEndpoint extends keyof TRouter>(props: {
config: UploadButtonProps<TRouter, TE... | 2024-01-22T08:57:43 | 2024-01-22T08:57:43 | {} | MEMBER |
vuejs | core | 1,903,833,095 | 10,161 | Doctor-wu | This test appears to be not idempotent on my local end, and it will occur some errors even on the main branch
<img width="1075" alt="CleanShot 2024-01-22 at 19 44 54@2x" src="https://github.com/vuejs/core/assets/44631608/252e435a-c0c3-425a-9287-b127935556b9">
<img width="1078" alt="CleanShot 2024-01-22 at 19 48 51@2x... | 2024-01-22T11:45:19 | 2024-01-22T14:37:33 | {} | MEMBER |
vuejs | core | 1,904,453,746 | 10,185 | Doctor-wu | I agree with @basvanmeurs that this is a reactivity regression now. | 2024-01-22T17:15:56 | 2024-01-22T17:15:56 | {} | MEMBER |
vuejs | core | 1,905,148,093 | 10,185 | johnsoncodehk | It should be fixed by #10187. It would be helpful if you could provide a minimal test case. | 2024-01-23T01:51:02 | 2024-01-23T01:51:02 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,905,610,673 | 8,717 | orimay | Shouldn't it be `Record<string | number | symbol, unknown>` instead? | 2024-01-23T09:09:01 | 2024-01-23T09:09:01 | {} | NONE |
vuejs | core | 1,906,141,597 | 10,123 | gjssss | Hey! Here I found a confused problem.
[dep.get(effect) === effect._trackId](https://github.com/vuejs/core/blob/f1068fc60ca511f68ff0aaedcc18b39124791d29/packages/reactivity/src/effect.ts#L296)
Here I think it will always be `true`, because when traversing this dep(map), the key `effect`'s value is `effect._trackI... | 2024-01-23T14:12:09 | 2024-01-23T14:12:09 | {} | NONE |
vuejs | core | 1,911,313,213 | 10,069 | rczdgbg | no fix

| 2024-01-26T02:29:49 | 2024-01-26T02:29:49 | {} | NONE |
vuejs | core | 1,911,760,228 | 10,217 | tuskermanshu | If you want to access the owner component's DOM in a watcher callback after Vue has updated it, you need to specify the flush: `post`

| 2024-01-26T09:45:08 | 2024-01-26T09:45:08 | {
"+1": 1
} | NONE |
vuejs | core | 1,912,107,375 | 10,217 | soyamore | You can define msg as prop in the Child component and emit the value like the example below :
```
<script setup>
defineProps('msg', {type: String});
defineEmits(['update:value'])
</script>
<template>
<input :value="msg" @input="$emit('update:value', $event.target.value) />
</template>
```
For the parent ... | 2024-01-26T13:55:36 | 2024-01-26T13:57:15 | {
"-1": 1
} | NONE |
vuejs | core | 1,913,147,384 | 10,210 | TotallyMehis | We are also experiencing this issue. | 2024-01-27T12:47:58 | 2024-01-27T12:47:58 | {} | NONE |
vuejs | core | 1,913,816,535 | 10,229 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------- | ------- | ------- |
| runtime-dom.global.prod.js | 90.2 kB | 34.4 kB | 30.9 kB |
| vue.global.prod.js | 147 kB | 53.6 kB | 47.8 kB |
### Usages
| Name | Size |... | 2024-01-29T01:35:35 | 2024-01-29T01:35:35 | {} | NONE |
vuejs | core | 1,903,677,028 | 10,159 | yyx990803 | I would consider this expected behavior post 3.4, like @LinusBorg explained. In short: **if a computed returns the same object, it will not trigger any changes.**
This is the desired behavior for a more efficient system, and while the breakage is unfortunate, I think this might be better off in the long run that the... | 2024-01-22T10:21:33 | 2024-01-22T10:21:33 | {
"+1": 2
} | MEMBER |
vuejs | core | 1,903,901,590 | 10,067 | brgkcosic | I know I had the same issue, Math.random() is being called twice hence you get different results. | 2024-01-22T12:27:03 | 2024-01-22T12:27:03 | {} | NONE |
vuejs | core | 1,905,143,916 | 8,215 | leonardorafael | Any updates about this issue guys? | 2024-01-23T01:47:38 | 2024-01-23T01:47:38 | {} | NONE |
vuejs | core | 1,905,354,471 | 10,184 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/7621713662)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/7606675100) |
|-------|--------|----------------|
| language-tools | :white_check_mark: [success](https://github.com/vuejs/ecosystem-ci/a... | 2024-01-23T06:11:48 | 2024-01-23T06:11:48 | {} | CONTRIBUTOR |
vuejs | core | 1,912,432,088 | 10,217 | shengslogar | Thanks, @dadaguai-git, you nailed it! I had no idea that option existed. (I should probably read through the docs again.)
I'm not sure why this works, but my guess is a regular watcher is somehow shortcutting the normal event lifecycle, probably between the child `@update:model-value` event and the value that's gett... | 2024-01-26T17:37:04 | 2024-01-26T17:37:04 | {} | NONE |
vuejs | core | 1,912,919,944 | 8,576 | matthew-dean | @SnosMe Your comment is great! I think that's actually a ~perfect~* near perfect workaround. I paired it with this in my ESLint config:
```ts
'@typescript-eslint/ban-types': [
'error',
{
types: {
Boolean: false
},
extendDefaults: tr... | 2024-01-27T02:25:32 | 2024-01-27T02:35:01 | {} | NONE |
vuejs | core | 1,913,347,741 | 3,948 | bseib | How about this proposed syntax:
```
props: {
category: {
type: String,
nullable: true,
required: false,
}
},
``` | 2024-01-27T22:01:55 | 2024-01-27T22:01:55 | {
"+1": 3
} | NONE |
vuejs | core | 1,905,589,007 | 9,219 | pengfan2013 | > @wanghanzhen Due to this PR is not a high priority and we can avoid that problem by `hoistStatic: false`. so it may not be merged so soon.
期望能尽快合进去 | 2024-01-23T08:56:09 | 2024-01-23T08:56:09 | {} | NONE |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.