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,968,449,678 | 10,418 | ChuTingzj | > > https://vuejs.org/guide/typescript/composition-api#typing-component-props
>
> 并没用,示例里是个interface, 而我这里是个class, 就是识别不出来
官方是这么说的
语法限制[](https://cn.vuejs.org/guide/typescript/composition-api.html#syntax-limitations)
在 3.2 及以下版本中,defineProps() 的泛型类型参数仅限于类型文字或对本地接口的引用。
这个限制在 3.3 中得到了解决。最新版本的 Vue 支持在类型参数位置引用导... | 2024-02-28T08:17:49 | 2024-02-28T08:17:49 | {} | NONE |
vuejs | core | 1,970,628,143 | 10,429 | huluobotx | > This didn't help, can you provide a minimal reproduction?
https://stackblitz.com/edit/vitejs-vite-95kqzr?file=package.json,src%2Fmain.js,src%2FApp.vue&terminal=dev
it's happen when i use "@element-plus/icons-vue": "^2.3.1", and "@form-create/element-ui": "^2.5.33",
but @form-create/element-ui@2.x is used for Vu... | 2024-02-29T08:17:22 | 2024-02-29T08:17:22 | {} | NONE |
vuejs | core | 1,971,935,667 | 9,556 | sadeghbarati | @pikax
I have something like this in Vue to get props, I have to use `typeof` keyword in ComponentProps right? but it doesn't work in types
```ts
export type ToastT<T extends Component = Component> = {
component?: T; // T is Vue component but how to get types without typeof
componentProps?: ComponentPro... | 2024-02-29T20:49:44 | 2024-02-29T20:52:37 | {} | NONE |
vuejs | core | 1,953,653,500 | 10,367 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | ------------------ | ------------------- |
| runtime-dom.global.prod.js | 90.5 kB (**-31 B**) | 34.4 kB (**-8 B**) | 31 kB (**+6 B**) |
| v... | 2024-02-20T07:53:50 | 2024-03-01T07:11:59 | {} | NONE |
vuejs | core | 1,978,038,648 | 10,397 | OnlyWick | @moushicheng Try to answer your question(I haven't read this change carefully yet. I plan to spend some time to finish reading the source code of `preact/signals` first.).
In the current version of `Vue`, there are many cases of recursive calls, but by using `double-linked lists`, the number of recursive operations... | 2024-03-05T06:16:21 | 2024-03-05T06:16:21 | {
"+1": 4,
"heart": 5
} | CONTRIBUTOR |
vuejs | core | 1,978,590,819 | 8,146 | BillyBobFry | Similar to the comment above, I saw this error because of a teleport with null content. This was what the code was like:
```
<Teleport>
to="someLocator"
:disabled="!someCondition"
>
<div v-if="someCondition">someContent</div>
</Teleport>
```
I resolved the issue by updating it to
```
... | 2024-03-05T11:54:18 | 2024-03-05T11:54:40 | {
"+1": 7,
"hooray": 1
} | NONE |
vuejs | core | 1,979,127,861 | 10,459 | davidabou | The solution is simple, you just have to wrap the Suspense inside a div and that's it!
See this :
https://stackblitz.com/edit/vitejs-vite-ts8gyi | 2024-03-05T16:10:22 | 2024-03-05T16:10:22 | {} | NONE |
vuejs | core | 1,970,664,518 | 10,429 | huluobotx | yes, thank u! | 2024-02-29T08:41:50 | 2024-02-29T08:41:50 | {} | NONE |
vuejs | core | 1,973,011,898 | 10,367 | OnlyWick | LMAO | 2024-03-01T11:23:16 | 2024-03-01T11:23:16 | {} | CONTRIBUTOR |
vuejs | core | 1,975,486,692 | 10,450 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------- | ------- | ------- |
| runtime-dom.global.prod.js | 90.5 kB | 34.4 kB | 31 kB |
| vue.global.prod.js | 148 kB | 53.7 kB | 47.9 kB |
### Usages
| Name | Size |... | 2024-03-04T01:19:33 | 2024-03-04T01:19:33 | {} | NONE |
vuejs | core | 1,970,530,996 | 10,429 | Doctor-wu | The reproduction you provided doesn't occur any errors, did you paste the wrong link? | 2024-02-29T07:04:08 | 2024-02-29T07:04:08 | {} | MEMBER |
vuejs | core | 1,976,137,817 | 10,453 | LinusBorg | That's how browser events work, though. If you want to stop propagation, <ou cando that yourself (generally not recommended):
https://play.vuejs.org/#eNp9UstOwzAQ/JXFl1CpJEJwKmkFVJWAAyBA4uJLlGzSFMe2/CiVovw7a4eWHlBPyc6Md2fW7tmd1unWI5ux3Jam1Q4sOq8XXLadVsZBDwZrGKA2qoOEpAmXXJZKWgedbWAe+PPkAYVQ8KmMqM6SSZDUXpauVRLWhawELun... | 2024-03-04T09:41:13 | 2024-03-04T09:41:39 | {} | MEMBER |
vuejs | core | 1,980,191,756 | 10,460 | ashc0 | [Vnodes Must Be Unique](https://vuejs.org/guide/extras/render-function.html#vnodes-must-be-unique)
```javascript
export default function Test2(_: FComponentProps, { slots }: SetupContext) {
return h('div', {}, [
slots.default?.(),
slots.default?.()
])
}
``` | 2024-03-06T06:48:15 | 2024-03-06T06:48:15 | {
"+1": 1
} | NONE |
vuejs | core | 1,980,196,563 | 10,460 | cc-hearts | ok, thx | 2024-03-06T06:51:10 | 2024-03-06T06:51:10 | {} | NONE |
vuejs | core | 1,970,565,799 | 10,428 | edison1105 | Are you sure native css supports darken? | 2024-02-29T07:35:02 | 2024-02-29T07:35:02 | {} | MEMBER |
vuejs | core | 1,971,928,311 | 9,556 | pikax | @sadeghbarati what type are you looking for, the two lines you sent one is the component and the other is props, we have:
- Component is ComponentType
- ComponentProps is ComponentProps
| 2024-02-29T20:44:32 | 2024-02-29T20:44:32 | {
"heart": 1
} | MEMBER |
vuejs | core | 1,972,710,134 | 10,367 | sxzz | Yes, `minor` branch will be merged into `main` in months and released as v3.5. | 2024-03-01T08:08:31 | 2024-03-01T08:08:31 | {} | MEMBER |
vuejs | core | 1,972,819,463 | 10,367 | OnlyWick | 😥😥 I messed up this PR. Give me a minute. | 2024-03-01T09:22:46 | 2024-03-01T09:36:03 | {} | CONTRIBUTOR |
vuejs | core | 1,975,486,849 | 10,451 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------- | ------- | ------- |
| runtime-dom.global.prod.js | 90.5 kB | 34.4 kB | 31 kB |
| vue.global.prod.js | 148 kB | 53.7 kB | 47.9 kB |
### Usages
| Name | Size |... | 2024-03-04T01:19:45 | 2024-03-04T01:19:45 | {} | NONE |
vuejs | core | 1,978,773,211 | 10,456 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------- | ------- | ------- |
| runtime-dom.global.prod.js | 90.5 kB | 34.4 kB | 31 kB |
| vue.global.prod.js | 148 kB | 53.7 kB | 47.9 kB |
### Usages
| Name | Size |... | 2024-03-05T13:25:33 | 2024-03-05T13:25:33 | {} | NONE |
vuejs | core | 1,979,993,866 | 3,478 | vincerubinetti | ~I'm running into what I think is the limitation being discussed here.~
Ugh of course I figure this out right after I post it. I'll leave it here because it might help someone stumbling on this issue.
<details>
<summary>Original post</summary>
I've tried various things like `unref`, `toRefs`, `reactive`, `sha... | 2024-03-06T03:04:26 | 2024-03-06T03:44:24 | {} | NONE |
vuejs | core | 1,968,050,601 | 10,418 | 52javascript | > https://vuejs.org/guide/typescript/composition-api#typing-component-props
并没用,示例里是个interface, 而我这里是个class, 就是识别不出来 | 2024-02-28T01:59:56 | 2024-02-28T01:59:56 | {} | NONE |
vuejs | core | 1,968,061,752 | 10,416 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/8074203014)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/8043911204) |
|-------|--------|----------------|
| language-tools | :x: [failure](https://github.com/vuejs/ecosystem-ci/actions/runs/807... | 2024-02-28T02:12:20 | 2024-02-28T02:12:20 | {} | CONTRIBUTOR |
vuejs | core | 1,970,818,193 | 10,431 | Doctor-wu | @baiwusanyu-c could you help to re-run the ecosystem-ci? | 2024-02-29T10:14:49 | 2024-02-29T10:14:49 | {} | MEMBER |
vuejs | core | 1,971,593,319 | 10,434 | LinusBorg | 3.4 behavior is correct, 3.3 behaviour was a bug.
https://github.com/vuejs/core/pull/9928 | 2024-02-29T17:12:33 | 2024-02-29T17:12:33 | {} | MEMBER |
vuejs | core | 1,979,978,085 | 10,457 | Doctor-wu | It appears like a lot of snapshots use single quote | 2024-03-06T02:43:46 | 2024-03-06T02:43:46 | {} | MEMBER |
vuejs | core | 1,966,301,533 | 10,419 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | ------------------ | ------------------- |
| runtime-dom.global.prod.js | 90.5 kB (**-12 B**) | 34.4 kB (**+2 B**) | 31 kB (**+2 B**) |
| v... | 2024-02-27T11:02:41 | 2024-02-29T01:48:29 | {} | NONE |
vuejs | core | 1,972,612,302 | 10,436 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------- | ------- | ------- |
| runtime-dom.global.prod.js | 90.5 kB | 34.4 kB | 31 kB |
| vue.global.prod.js | 148 kB | 53.7 kB | 47.9 kB |
### Usages
| Name | Size |... | 2024-03-01T06:53:29 | 2024-03-01T06:53:29 | {} | NONE |
vuejs | core | 1,972,853,309 | 10,367 | sxzz | Hmmm, this PR is a mess. Maybe you can redo it. Try to `git reset --hard origin/minor` and redo it then commit & force-push. | 2024-03-01T09:44:13 | 2024-03-01T09:44:13 | {} | MEMBER |
vuejs | core | 1,975,966,737 | 10,441 | haoqunjiang | https://vuejs.org/guide/essentials/component-basics.html#self-closing-tags | 2024-03-04T08:16:28 | 2024-03-04T08:16:28 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,977,864,212 | 10,453 | bayi-95 | I know, Thanks! | 2024-03-05T02:57:55 | 2024-03-05T02:57:55 | {} | NONE |
vuejs | core | 1,978,958,725 | 10,173 | sxzz | Thanks to @LittleSound. Evan implemented this via https://github.com/vuejs/core/commit/2cc5615590de77126e8df46136de0240dbde5004
| 2024-03-05T14:56:05 | 2024-03-05T14:56:05 | {} | MEMBER |
vuejs | core | 1,968,064,226 | 10,417 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/8074205361)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/8043911204) |
|-------|--------|----------------|
| language-tools | :x: [failure](https://github.com/vuejs/ecosystem-ci/actions/runs/807... | 2024-02-28T02:15:24 | 2024-02-28T02:15:24 | {} | CONTRIBUTOR |
vuejs | core | 1,968,078,196 | 9,313 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/8074379222)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/8043911204) |
|-------|--------|----------------|
| language-tools | :x: [failure](https://github.com/vuejs/ecosystem-ci/actions/runs/807... | 2024-02-28T02:32:19 | 2024-02-28T02:32:19 | {} | CONTRIBUTOR |
vuejs | core | 1,963,622,253 | 10,413 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | -------------------- | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 90.7 kB (**+193 B**) | 34.5 kB (**+85 B**) | 31.1 kB (**+84 B**)... | 2024-02-26T09:03:17 | 2024-02-29T01:49:26 | {} | NONE |
vuejs | core | 1,972,619,477 | 9,774 | mrcego | > <img width="719" alt="image" src="https://github.com/vuejs/core/assets/45655660/f3f0a59e-d8ca-46a3-b291-93714b0f849d">
> Maybe I explained here why this is used
It's the exact use case for Tailwind Variants, where [you get variants as typeof from VariantProps util](https://www.tailwind-variants.org/docs/typescript#e... | 2024-03-01T07:01:12 | 2024-03-01T07:02:43 | {} | NONE |
vuejs | core | 1,975,499,590 | 5,256 | Alone-Michael | > 谢谢。对于 vite 你可以使用:
>
> ```js
> plugins: [vue({ template: { compilerOptions: { hoistStatic: false } } })],
> ```
在vite.config.js 中添加报错
| 2024-03-04T01:33:00 | 2024-03-04T01:33:00 | {} | NONE |
vuejs | core | 2,074,083,942 | 10,780 | keelii | ```
if (
(!self._cacheable || self.effect.dirty) &&
hasChanged(self._value, (self._value = self.effect.run()!))
) {
triggerRefValue(self, DirtyLevels.Dirty)
}
```
When i check the source code, `self.effect.dirty` maybe should assigned to `true` when `effect.run` throw an exception ? | 2024-04-24T05:44:45 | 2024-04-24T05:45:06 | {} | NONE |
vuejs | core | 2,074,216,236 | 10,771 | haoqunjiang | 请提供可以运行的复现代码。 | 2024-04-24T07:01:06 | 2024-04-24T08:17:16 | {} | MEMBER |
vuejs | core | 2,074,595,734 | 9,296 | Dazaer | There's more to this and maybe unrelated, but I've expanded your playground to show how there's inconsistencies even within the same defineComponent for js.
- Works within same component if has `data` option
- Works outside component and within if has both `data` option and an empty `<script setup></script>`
- e... | 2024-04-24T10:10:39 | 2024-04-24T10:10:39 | {
"+1": 1
} | NONE |
vuejs | core | 2,074,697,307 | 10,771 | wzsgtom | hhh真巧了,一天之内正好撞上这个issue的出现和修复 | 2024-04-24T11:11:59 | 2024-04-24T11:11:59 | {} | NONE |
vuejs | core | 2,075,583,241 | 8,482 | adambiggs | We ran into this when trying to use [zod type inference](https://zod.dev/?id=type-inference). | 2024-04-24T18:33:25 | 2024-04-24T18:33:25 | {
"+1": 8
} | NONE |
vuejs | core | 2,076,841,601 | 10,794 | SuperDJ | Not sure if this is related, but this might also be breaking Vuetify. I have several error messages such as:
- Uncaught (in promise) TypeError: Cannot convert object to primitive value;
- [Vue warn] avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to a... | 2024-04-25T10:14:41 | 2024-04-25T10:27:03 | {} | NONE |
vuejs | core | 2,074,525,978 | 10,780 | yyx990803 | Your example is a bit contrived as it unlikely happens in real code - but in this specific case it's almost expected behavior because on repeated clicks nothing has changed and the computed will just cache previous value and not even execute the getter again. And if a computed errors on initial evaluation, the app just... | 2024-04-24T09:36:26 | 2024-04-24T09:36:50 | {} | MEMBER |
vuejs | core | 2,076,200,523 | 10,788 | edison1105 | The v-model only listens internally for `input` and `change` events. The `stepUp` or `stepDown` function do not trigger the `input` or `change` events, so it will not work. You need to manually trigger the input event.
see https://play.vuejs.org/#eNp9Uk1PGzEQ/SuWL0lUuktoT3SJ+qEc6KGt2sLJl8WZJAbv2PLHsmi1/52xTSBCiNu8ec... | 2024-04-25T02:18:09 | 2024-04-25T02:18:09 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,076,702,890 | 10,795 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 90.7 kB (**-30 B**) | 34.5 kB (**-12 B**) | 31.1 kB (**+7 B**) |
... | 2024-04-25T08:58:57 | 2024-04-25T08:58:57 | {} | NONE |
vuejs | core | 2,078,476,206 | 10,794 | yyx990803 | I think there is a confusion here:
1. `toRaw` is only used to unwrap proxies to the original object, but to `isPlainObject` the proxies don't make any difference unless the proxy traps `getPrototypeOf` (which we don't).
2. If you are trying to differentiate objects from primitive types, then you should probably u... | 2024-04-26T01:36:04 | 2024-04-26T01:36:04 | {} | MEMBER |
vuejs | core | 2,026,801,489 | 10,613 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------- | ------------------ | ------------------- |
| runtime-dom.global.prod.js | 90.7 kB | 34.5 kB (**-1 B**) | 31.1 kB (**+19 B**) |
| vue.global.prod.js | 148 kB ... | 2024-03-29T07:24:38 | 2024-04-26T04:49:12 | {} | NONE |
vuejs | core | 2,072,615,046 | 10,362 | Youzi-io | I also encountered this problem. When modifying the defineModel value, defineEmits still gets the old value. | 2024-04-23T15:04:57 | 2024-04-23T15:04:57 | {} | NONE |
vuejs | core | 2,074,303,412 | 7,306 | skirtles-code | I was unaware of #5593 when I opened this. Here's a brief comparison:
1. This PR adds several extra test cases. Both fixes for `toDisplayString` pass those extra test cases. I believe the fixes are functionally equivalent.
2. Inside `toDisplayString`, `#5593` handles the ref case first, whereas this PR handles it a... | 2024-04-24T07:50:18 | 2024-04-24T07:50:18 | {
"heart": 1
} | CONTRIBUTOR |
vuejs | core | 2,074,325,701 | 10,771 | mote-ice | +1 | 2024-04-24T08:01:59 | 2024-04-24T08:01:59 | {
"+1": 1,
"confused": 1
} | NONE |
vuejs | core | 2,074,328,885 | 10,774 | Disservin | > > hasOwnProperty
>
>  | 35.5 kB (**+966 B**) | 32 kB (*... | 2023-10-21T09:47:30 | 2024-04-25T07:30:57 | {} | NONE |
vuejs | core | 2,077,035,262 | 10,794 | edison1105 |
> Not sure if this is related, but this might also be breaking Vuetify. I have several error messages such as:
>
> * Uncaught (in promise) TypeError: Cannot convert object to primitive value;
> * [Vue warn] avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in prod... | 2024-04-25T12:11:42 | 2024-04-25T12:11:42 | {} | MEMBER |
vuejs | core | 2,077,621,814 | 10,788 | yyx990803 | This is expected behavior. `v-model` only syncs user interactions and doesn't detect manual changes to input state via JavaScript. e.g. you can do `input.value = 123` and `v-model` is not responsible for detecting that. | 2024-04-25T15:51:04 | 2024-04-25T15:51:04 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,077,625,951 | 10,801 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ---------------------- | -------------------- | -------------------- |
| runtime-dom.global.prod.js | 93.9 kB (**+3.24 kB**) | 35.5 kB (**+966 B**) | 32 kB (*... | 2024-04-25T15:53:09 | 2024-04-25T15:53:09 | {} | NONE |
vuejs | core | 2,079,021,066 | 10,813 | jacekkarczmarczyk | Your reproduction doesn't show that error | 2024-04-26T09:41:21 | 2024-04-26T09:41:21 | {} | CONTRIBUTOR |
vuejs | core | 2,073,982,579 | 10,779 | Zhxxxxxxxx | If you need any more information, please let me know and I'll collect it.
如果还需要其他信息,请告诉我,我去收集。 | 2024-04-24T04:04:08 | 2024-04-24T04:04:08 | {} | NONE |
vuejs | core | 2,073,983,014 | 10,779 | Justineo | Please provide a minimal reproduction. | 2024-04-24T04:04:40 | 2024-04-24T04:04:40 | {} | MEMBER |
vuejs | core | 2,074,257,847 | 10,771 | Disservin | @edison1105 there you go https://github.com/Disservin/vue-10771-reproduction
(click on about) | 2024-04-24T07:25:26 | 2024-04-24T07:28:29 | {
"+1": 2
} | CONTRIBUTOR |
vuejs | core | 2,075,578,185 | 10,771 | lianyitj | 我查了两天程序,一直到现在才知道这里的问题,宝贵的时间啊!。。。郁闷。。。。 | 2024-04-24T18:30:17 | 2024-04-24T18:30:17 | {} | NONE |
vuejs | core | 2,076,298,921 | 10,790 | edison1105 | I think we shouldn't change the original behavior of stepDown or stepUp.
- This is not in line with HTML specifications.
- It's possible that users have already used stepUp to avoid triggering the input event. If we change the original behavior of stepUp, it might be a breaking change. | 2024-04-25T03:54:04 | 2024-04-25T03:54:04 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,076,472,755 | 10,792 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | ------------------- | ------------------ |
| runtime-dom.global.prod.js | 90.7 kB (**-52 B**) | 34.5 kB (**-34 B**) | 31.1 kB (**+3 B**) |
| v... | 2024-04-25T06:37:35 | 2024-04-25T06:37:35 | {} | NONE |
vuejs | core | 2,077,779,581 | 4,091 | ferferga | @yyx990803 @posva [Here's a simple reproduction](https://play.vuejs.org/#__PROD__eNp9VMlu2zAQ/ZUJL4kDS8rWi+sEbYocUqBNkfgooKClkcyEIgWSUpIa/vcORS/ykgA6SDNvtjdvNGff6zpuG2QjNraZEbUDi66pb1IlqlobB3MwWAxB4ZubiOwFFlAYXcExBR1/XaNuJ4YrK5zQaumPk57Nl/DoVBWNyjpUieqRq1xXT84IVZ4MYJ4qoGKuMQqWxl/czWLKQrCTwYASLHyOTCtLfYpScQnXvr+TvWwDD+T... | 2024-04-25T17:15:16 | 2024-04-25T17:15:16 | {} | CONTRIBUTOR |
vuejs | core | 2,078,541,107 | 10,794 | cloydlau | I understand the considerations for SSR performance. But I should point out that `isObjectLike([])` and `isObjectLike(new Date())` also return `true`, yet `[]` and `new Date()` cannot be merged, or rather, should not be merged. Therefore, `isObjectLike` is not suitable in this case. I'll think of another approach. | 2024-04-26T02:48:57 | 2024-04-26T02:55:57 | {} | CONTRIBUTOR |
vuejs | core | 2,073,872,886 | 10,748 | tonliver | > @tonliver Could you add a test case?
Sure, I'll work on it as soon as possible. | 2024-04-24T02:16:04 | 2024-04-24T02:16:04 | {
"heart": 1
} | CONTRIBUTOR |
vuejs | core | 2,076,564,469 | 3,399 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/8828714960)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/8811254125) |
|-------|--------|----------------|
| language-tools | :x: [failure](https://github.com/vuejs/ecosystem-ci/actions/runs/882... | 2024-04-25T07:39:21 | 2024-04-25T07:39:21 | {} | CONTRIBUTOR |
vuejs | core | 2,072,340,988 | 10,655 | quiteeasy | In the prod mode, reactive values are not exposed in the setupResult object as the script setup gets inlined when using the script setup syntax. However, this does not occur in development mode or when using the regular setup() function that returns reactive values.
To address this, I have added a warning in the PR ... | 2024-04-23T13:34:50 | 2024-04-23T18:39:53 | {} | CONTRIBUTOR |
vuejs | core | 2,073,985,078 | 10,774 | dage212 | vue object is used Proxy wrapped,xx.hasOwnProperty can emit proxy interception | 2024-04-24T04:07:11 | 2024-04-24T04:07:11 | {} | NONE |
vuejs | core | 2,074,011,994 | 10,774 | jevin98 | > hasOwnProperty

The latest version of vue in the playground will indeed report an error.
| 2024-04-24T04:37:06 | 2024-04-24T04:37:06 | {} | NONE |
vuejs | core | 2,076,572,142 | 3,948 | yyx990803 | Somehow missed this when we landed bbf6ca9bca942df639ff0357d713413c9a1c4c05, which effectively implements proposed solution 1 (which is why the workaround suggested by @sxzz works). Added this detail to the docs in https://github.com/vuejs/docs/commit/26666c032a07fc66531f063ca52646e99cdb6cde
For non-required props, ... | 2024-04-25T07:43:57 | 2024-04-25T07:56:23 | {} | MEMBER |
vuejs | core | 2,073,796,551 | 10,748 | edison1105 | @tonliver Could you add a test case? | 2024-04-24T01:16:47 | 2024-04-24T01:16:47 | {} | MEMBER |
vuejs | core | 1,772,038,831 | 6,548 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 90.8 kB (**+80 B**) | 34.5 kB (**+35 B**) | 31.1 kB (**+25 B**) |
... | 2023-10-20T03:57:08 | 2024-04-25T03:12:50 | {} | NONE |
vuejs | core | 2,077,663,936 | 10,794 | cloydlau | Thanks for the reply, Evan.
I will explain my use case: I've written a small library [vue-global-config](https://github.com/cloydlau/vue-global-config), which can be used to merge global and instance Props/Attrs/Listeners/Hooks/Slots to form a final effective configuration. This can be very useful in situations wher... | 2024-04-25T16:11:49 | 2024-04-26T00:34:14 | {} | CONTRIBUTOR |
vuejs | core | 2,078,949,571 | 10,809 | edison1105 | /ecosystem-ci run | 2024-04-26T08:58:31 | 2024-04-26T08:58:31 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,073,992,696 | 10,779 | Zhxxxxxxxx | > Please provide a minimal reproduction.
不太好在沙盒复现,不知道是什么触发了bug,通过截图能看出可能的问题么? | 2024-04-24T04:16:11 | 2024-04-24T04:16:11 | {} | NONE |
vuejs | core | 2,074,155,009 | 6,882 | litchia | 解决了吗兄弟 这问题都那么久了还有。。 | 2024-04-24T06:20:42 | 2024-04-24T06:20:42 | {} | NONE |
vuejs | core | 2,074,236,341 | 10,771 | lau96 | +1 | 2024-04-24T07:13:15 | 2024-04-24T07:13:15 | {
"+1": 1,
"confused": 1
} | NONE |
vuejs | core | 2,074,346,389 | 10,774 | jevin98 | > Proxy
Thanks, However, in 3.4.24, there is no answer to the question why the function of the object on the prototype of slots disappeared. | 2024-04-24T08:12:04 | 2024-04-24T08:12:04 | {} | NONE |
vuejs | core | 2,074,401,422 | 10,774 | jevin98 | > What? You have previously shown that there is an error, so there definitely will be a problem for you after upgrading? This is very likely due to some internal vue change which uses the `Object.create(null)` syntax, but this is fixable if you just use `hasOwn`. Any good js linter will probably tell you not to use the... | 2024-04-24T08:36:35 | 2024-04-24T08:36:35 | {} | NONE |
vuejs | core | 2,074,528,512 | 10,769 | yyx990803 | Looks like a behavior discrepancy between `defineProps` and `defineModel` is the actual bug here. | 2024-04-24T09:37:43 | 2024-04-24T09:37:43 | {} | MEMBER |
vuejs | core | 2,077,015,458 | 10,794 | Disservin | btw playground here https://play.vuejs.org/#eNqFVN9v2jAQ/leufmhAQqk0thdWNnVTHzZNBbXd04ymLFyoqbEj2wEmyv++s50AyTqWp/h+fPfd5zvv2E1ZpusK2Yhd29yI0oFFV5UfuBKrUhsHO3D6PtsMoLJ445yxsIfC6BUklJZwxVVRqdwJrUDYya8l5u6beMbeOpMV9mHHFdBnCNQocL9L1AUEH4zHY0h0yEjg8rK2XpBVVVK+52rfQl+ge8wWLVxRQDwTVkjq1jsWqtQcC6FwDh8h+RGrwvfGOEtgdDTfEdKMWgMg... | 2024-04-25T12:00:19 | 2024-04-25T12:00:19 | {} | CONTRIBUTOR |
vuejs | core | 2,078,962,210 | 10,809 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/8845751630)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/8843328649) |
|-------|--------|----------------|
| language-tools | :white_check_mark: [success](https://github.com/vuejs/ecosystem-ci/a... | 2024-04-26T09:05:08 | 2024-04-26T09:05:08 | {} | CONTRIBUTOR |
vuejs | core | 2,076,220,158 | 10,501 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ---------------------- | -------------------- | -------------------- |
| runtime-dom.global.prod.js | 93.9 kB (**+3.16 kB**) | 35.4 kB (**+937 B**) | 31.9 kB ... | 2024-04-25T02:30:00 | 2024-04-25T02:30:00 | {} | NONE |
vuejs | core | 2,063,242,011 | 3,399 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/8717685257)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/8716544786) |
|-------|--------|----------------|
| language-tools | :x: [failure](https://github.com/vuejs/ecosystem-ci/actions/runs/871... | 2024-04-18T07:49:27 | 2024-04-25T07:32:24 | {} | CONTRIBUTOR |
vuejs | core | 2,076,694,148 | 10,771 | shuTwT | thanks | 2024-04-25T08:54:10 | 2024-04-25T08:54:10 | {} | NONE |
vuejs | core | 2,073,823,421 | 4,339 | fcl999 | 需要这个功能 | 2024-04-24T01:33:39 | 2024-04-24T01:33:39 | {} | NONE |
vuejs | core | 2,074,392,706 | 10,772 | haoqunjiang | I'm merging this PR because it's quite straightforward and fixes an urgent regression.
Let's add tests later. | 2024-04-24T08:32:24 | 2024-04-24T08:32:24 | {} | MEMBER |
vuejs | core | 2,074,395,501 | 10,774 | Disservin | What? You have previously shown that there is an error, so there definitely will be a problem for you after upgrading? This is very likely due to some internal vue change which uses the `Object.create(null)` syntax, but this is fixable if you just use `hasOwn`. Any good js linter will probably tell you not to use the r... | 2024-04-24T08:33:48 | 2024-04-24T08:33:48 | {} | CONTRIBUTOR |
vuejs | core | 2,074,618,940 | 10,764 | yyx990803 | Closing as duplicate | 2024-04-24T10:22:41 | 2024-04-24T10:22:41 | {} | MEMBER |
vuejs | core | 2,076,981,326 | 3,024 | shining-mind | We are facing the same issue, and neither `markRaw` nor `toRaw` is a viable solution for us. Additionally, we have our own proxy system that correctly handles this scenario, and we haven't observed any negative impact on performance. Therefore, I think that #3025 should be revisited.
By the way, here is our implemen... | 2024-04-25T11:39:12 | 2024-04-25T11:39:12 | {
"+1": 2
} | NONE |
vuejs | core | 2,078,828,742 | 10,806 | quiteeasy | The Vue documentation states that the `onActivated` and `onDeactivated` hooks should work not only for the root component cached by `<KeepAlive>`, but also for descendant components in the cached tree. However, the issue we're facing is that `onActivated` is not being called on conditional descendants (those toggled wi... | 2024-04-26T07:51:18 | 2024-04-26T07:51:18 | {
"+1": 2
} | CONTRIBUTOR |
vuejs | core | 2,074,185,018 | 10,771 | LebronLei | +1 生产有问题,路由跳转的时候报错 | 2024-04-24T06:41:35 | 2024-04-24T06:41:35 | {
"confused": 1
} | NONE |
vuejs | core | 2,074,272,598 | 10,771 | JamesY-Jey | +1

| 2024-04-24T07:33:23 | 2024-04-24T07:36:56 | {
"confused": 1
} | NONE |
vuejs | core | 2,077,306,613 | 8,952 | johnsoncodehk | This is a type restriction of defineComponent, as a current solution you can use generic. This will bypass defineComponent and define the component as a functional component.
```html
<script setup lang="ts" generic="T">
interface CommonProps {
size?: 'xl' | 'l' | 'm' | 's' | 'xs'
}
// ...
</script>
``` | 2024-04-25T14:12:43 | 2024-04-25T14:12:43 | {
"heart": 5
} | MEMBER |
vuejs | core | 2,077,678,473 | 10,801 | johnsoncodehk | I think we can also add `__typeEmit` for emits JSDoc supports.
- https://github.com/vuejs/language-tools/issues/3893
- https://github.com/vuejs/language-tools/issues/1894 | 2024-04-25T16:18:39 | 2024-04-25T16:18:39 | {} | MEMBER |
vuejs | core | 2,078,407,448 | 4,091 | edison1105 | duplicate of https://github.com/vuejs/core/pull/10497
the root cause https://github.com/vuejs/core/issues/3716#issuecomment-833258360 | 2024-04-26T00:53:55 | 2024-04-26T01:42:40 | {
"+1": 1,
"heart": 1
} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.