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,675,283,548 | 4,662 | SavkaTaras | Hey all,
I wanted to give a BIG THANK YOU to @baiwusanyu-c for creating `unplugin-vue-ce` and resolving #4662 issue on a plugin level.
Thank you for all your hard work @baiwusanyu-c !
https://github.com/baiwusanyu-c/unplugin-vue-ce/tree/master
Best regards,
Taras | 2023-08-11T19:42:25 | 2023-08-11T19:42:25 | {
"+1": 8,
"eyes": 1,
"heart": 3,
"hooray": 3,
"laugh": 1
} | NONE |
vuejs | core | 1,676,350,693 | 8,565 | sxzz | Conflicted. Could you please rebase your branch? | 2023-08-13T12:50:22 | 2023-08-13T12:50:22 | {} | MEMBER |
vuejs | core | 1,672,428,481 | 8,943 | edison1105 | Please ensure your reproduction can reproduce your problem. | 2023-08-10T02:01:23 | 2023-08-10T02:01:23 | {} | MEMBER |
vuejs | core | 1,672,767,428 | 8,943 | DiscreteTom | I have a similiar issue: https://github.com/nuxt/nuxt/issues/22552
Here is a minimal reproduction:
https://play.vuejs.org/#__SSR__eNp9Ustu2zAQ/JUFL5IBWTrkZsgp2iCHFugDbdATL4JE20wokiBXqgtB/94lKStCUORka3d2OLOzE/tobTkOgh1YjaK3qkFxzzVA3ckx/AKM+5NxR87ysVGDKEA3vdiB1OCEHxRylmCHF/GXUKGbSpGGiMZ927huj+KKSwlgmiCywTwvqOotrK... | 2023-08-10T08:13:20 | 2023-08-10T08:13:20 | {} | NONE |
vuejs | core | 1,676,934,514 | 8,681 | sxzz | /ecosystem-ci run | 2023-08-14T08:50:03 | 2023-08-14T08:50:03 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,678,592,218 | 8,975 | edison1105 | `structuredClone` does not support Proxy. see https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm#supported_types
use `structuredClone(toRaw(xxx))` instead. | 2023-08-15T08:33:06 | 2023-08-15T08:33:06 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,679,022,629 | 7,184 | vhoyer | why no merge? :smiling_face_with_tear: | 2023-08-15T14:25:36 | 2023-08-15T14:25:36 | {
"+1": 1
} | NONE |
vuejs | core | 1,680,764,445 | 8,987 | baiwusanyu-c | I reproduced the problem, he only appears in some specific syntax
```
<template>
<div class="component-a">
<p>foo value: {{ props.foo }}</p>
<p>typeof foo: {{ typeof props.foo }}</p>
<p>Sum: {{ props.valOne + props.valTwo }}</p>
<!-- <ComponentB /> -->
</div>
</template>
<script lang="ts" setup>
... | 2023-08-16T14:51:12 | 2023-08-16T14:51:12 | {} | MEMBER |
vuejs | core | 1,676,352,338 | 8,654 | sxzz | @auvred Yes. We can separate it into two regex patterns. It doesn't really work in two cases. | 2023-08-13T12:57:10 | 2023-08-13T12:57:10 | {} | MEMBER |
vuejs | core | 1,676,434,451 | 8,592 | sxzz | I think it's very hard to figure out which variable should be hoisted without scope stack (like we did in Reactivity Transform package). But if we introduce scope stack, it will greatly increase the complexity of the SFC compiler.
Maybe we need a complete refactor, I'm considering. | 2023-08-13T18:45:59 | 2023-08-13T18:45:59 | {} | MEMBER |
vuejs | core | 1,676,935,117 | 8,681 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/5853753448)
| suite | result |
|-------|--------|
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/5853753448/job/15868369754) | :white_check_mark: success |
| [pinia](https://github.com/vuejs/ecosystem-ci/actions/runs/58537534... | 2023-08-14T08:50:29 | 2023-08-14T09:05:38 | {} | CONTRIBUTOR |
vuejs | core | 1,678,604,404 | 7,301 | Ives7 | when it merge? | 2023-08-15T08:44:03 | 2023-08-15T08:44:03 | {} | NONE |
vuejs | core | 1,679,108,959 | 8,586 | Waleed-KH | I've done some benchmark tests (same by @edison1105) and got similar results:
- reactive obj create has a huge **positive** impact **(200% - 700%)**
- get/set reactive obj props has small **negative** impact **(1% - 5%)**
| Benchmark | Result (this PR) ... | 2023-08-15T15:14:36 | 2023-08-15T19:03:59 | {
"heart": 1
} | CONTRIBUTOR |
vuejs | core | 1,672,508,994 | 2,775 | popring | > 1. use `defineComponent()` to let TS know you are actually defining a Vue component
> 2. try annotating the return values of the computed's:
>
> ```ts
> showMachines(): boolean {
> ```
>
> For more help, please use chat.vuejs.org
thanks, also correct resolve my problem, ts error with data. | 2023-08-10T03:47:23 | 2023-08-10T03:47:23 | {} | NONE |
vuejs | core | 1,675,847,230 | 8,959 | sxzz | <img width="593" alt="image" src="https://github.com/vuejs/core/assets/6481596/0b9349d7-0755-4a6a-9343-3d2803728b38">
The reproduction you provided does not match your description. | 2023-08-12T10:54:25 | 2023-08-12T10:54:25 | {} | MEMBER |
vuejs | core | 1,676,345,700 | 8,961 | sxzz | See https://github.com/vuejs/rfcs/discussions/502 and enable `propsDestructure` feature.
```ts
//vite.config.ts
export default defineConfig({
plugins: [
vue({
script: {
propsDestructure: true,
},
}),
],
});
``` | 2023-08-13T12:29:10 | 2023-08-13T12:29:10 | {
"heart": 1
} | MEMBER |
vuejs | core | 1,676,898,893 | 8,965 | szym0807 | 视频无效原因 加密了
| 2023-08-14T08:24:19 | 2023-08-14T08:24:19 | {} | NONE |
vuejs | core | 1,677,105,639 | 8,962 | Justineo | F.Y.I. earlier discussions at https://github.com/vuejs/vue/issues/8759 | 2023-08-14T10:54:15 | 2023-08-14T10:54:15 | {} | MEMBER |
vuejs | core | 1,678,984,340 | 8,584 | Alfred-Skyblue | I have installed the `eslint-plugin-import` plugin within the project. However, since `compiler-sfc.esm-browser.js` will be running in a browser environment, using the `node:xxx` import syntax is not viable. Consequently, I have overridden the rules for the `compiler-sfc` directory. | 2023-08-15T14:00:50 | 2023-08-15T14:00:50 | {} | MEMBER |
vuejs | core | 1,679,988,937 | 8,982 | edison1105 | I feel we should review the existing PR rather than open a new one. | 2023-08-16T05:32:37 | 2023-08-16T05:32:37 | {} | MEMBER |
vuejs | core | 1,680,752,475 | 8,987 | baiwusanyu-c | https://play.vuejs.org/#eNqNUk1v2zAM/SuELsmw1N5Q9GK4AbYgh+3QFduOuqQOnaqzPqCPLIPh/z7ScrwUyIbpJPI9Uo/i68UH54pjQlGJOjReuQgBY3JraZR21kfoYY+tMrhJIVq97VCjiSvw2MIArbcaFlS/mPkbq92UL0oOuD3BjTUhoxuE+2tNlwy+IeZlMhSZuVw0eNMQYbGamhCzLrNmUktBRO26XUSKAOrn9+u+Bx0OMAx1SdGYVcalCMcbbffY3UtBuBQZmvpD1VpLyF1xJwVUTztPwTsO1nU5caigLufnxErEQOO1... | 2023-08-16T14:44:31 | 2023-08-16T14:44:31 | {} | MEMBER |
vuejs | core | 1,680,754,883 | 8,987 | baiwusanyu-c | I can't seem to reproduce the problem in the playground
| 2023-08-16T14:45:52 | 2023-08-16T14:45:52 | {} | MEMBER |
vuejs | core | 1,680,782,132 | 8,987 | SavkaTaras | We really enjoy setting the type with defaults. When using as vue component, typescript provides some valuable suggestions. vue-tsc helps during the type-check command. But when compiling to custom element, it doesn't seem to work.
<p>Sum: {{ props.valOne + props.valTwo }}</p> only works correctly if no value is pas... | 2023-08-16T15:00:43 | 2023-08-16T15:00:43 | {} | NONE |
vuejs | core | 1,671,971,891 | 8,938 | LinusBorg | ```ts
const vnode2 = () => h('div', message.value);
``` | 2023-08-09T18:58:05 | 2023-08-09T18:58:05 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,672,384,051 | 8,928 | edison1105 | A compilation error will likely be displayed in your terminal if the element is not closed. | 2023-08-10T01:05:16 | 2023-08-10T01:05:16 | {} | MEMBER |
vuejs | core | 1,672,436,573 | 8,898 | ipcjs | The key point in reproducing the problem is `effectiveVisible`
Change `modelRef.value?.effectiveVisible` to `visible.value` can fix the demo:
```typescript
const effectiveList = computed(() => list.value.filter(it => !visible.value || it !== selectedItem.value))
```
Console will print:
```
open: 0
close
... | 2023-08-10T02:14:31 | 2023-08-10T02:14:31 | {} | NONE |
vuejs | core | 1,674,182,696 | 8,852 | yangliguo7 | also confuse here
Is the type returned by `DefineProps `generated by this ` Readonly<ExtractPropTypes<{ x:Boolean }>>` ?
check the mini RP
https://www.typescriptlang.org/play?#code/C4TwDgpgBACgTgezAWQsAFggJgHgCoA0UeAwggHYDOwcArgMbAJxQC8UAhuSAHxtQBtPAF0oEAB7AI5LJUEAoKFAAUygHQaOcAOaUAXJ24BKNny4gTAHyi0ZEAGYBLchC... | 2023-08-11T03:57:43 | 2023-08-11T03:58:42 | {} | CONTRIBUTOR |
vuejs | core | 1,675,026,951 | 8,929 | adamwathan | Just throwing my hat in from the Tailwind team to say this would be a super welcome fix — right now Vue's scoped styles don't properly handle some of these more modern CSS features which means certain features of Tailwind don't work for Vue users the way they'd expect. | 2023-08-11T16:06:26 | 2023-08-11T16:06:26 | {
"heart": 2
} | NONE |
vuejs | core | 1,677,185,103 | 8,586 | sxzz | Thank you for your excellent work! I would like to know what motivated your PR. Does it have any impact on performance? If so, could you please provide benchmark results to validate this point? I am also concerned about whether it will increase the size of the bundle. It seems that classes are more difficult to tree-sh... | 2023-08-14T11:55:40 | 2023-08-14T11:55:47 | {} | MEMBER |
vuejs | core | 1,678,314,544 | 8,586 | edison1105 | I did a simple benchmark test via https://github.com/basvanmeurs/vue-next-benchmarks:
## Based on the latest version
```diff
Use Vue3: https://cdnjs.cloudflare.com/ajax/libs/vue/3.3.4/vue.global.js
Benchmarks: reactiveObject
Available: ref,computed,watch,watchEffect,mix,reactiveObject,reactiveMap,reactiveArray
vu... | 2023-08-15T01:48:57 | 2023-08-15T02:43:21 | {} | MEMBER |
vuejs | core | 1,678,362,079 | 8,586 | Justineo | We need some more objective reasons to refactor existing code, such as improvements on performance or maintainability and need to ensure the refactoring doesn't introduce negative impacts on performance. | 2023-08-15T03:04:54 | 2023-08-15T03:04:54 | {} | MEMBER |
vuejs | core | 1,679,879,842 | 8,140 | Dinert | @gVguy Thank you, That helps me a lot. | 2023-08-16T02:40:49 | 2023-08-16T02:40:49 | {} | NONE |
vuejs | core | 1,672,899,315 | 7,963 | lockiechen | is there a example about custom event generic support | 2023-08-10T09:42:06 | 2023-08-10T09:42:06 | {} | NONE |
vuejs | core | 1,675,166,733 | 8,929 | doutatsu | @patak-dev Maybe we can bump this up? Seems like a quick one to get through and will help countless devs upgrading their TailwindCSS version | 2023-08-11T17:55:34 | 2023-08-11T17:55:34 | {} | NONE |
vuejs | core | 1,675,961,612 | 8,959 | sxzz | See https://github.com/vuejs/rfcs/discussions/502 and enable `propsDestructure` feature. | 2023-08-12T15:21:55 | 2023-08-12T15:21:55 | {} | MEMBER |
vuejs | core | 1,677,190,103 | 8,681 | sxzz | Thank you for your excellent work! However, I am concerned that using symbols as keys may incur greater performance overhead compared to strings. Can you attempt to test whether it will have a significant impact on performance? If so, we need to consider if this PR is truly worth it. If there is not much performance de... | 2023-08-14T11:59:37 | 2023-08-14T11:59:37 | {} | MEMBER |
vuejs | core | 1,677,416,652 | 8,681 | sxzz | ERROR: type should be string, got "https://jsben.ch/9mNDi\r\n\r\nI have tested using both string keys and symbol keys separately. The results show that the performance is almost the same, with a fluctuation between 98% and 102%. Sometimes, symbols even perform slightly faster than strings.\r\n\r\nIn conclusion, I believe that your PR has a minimal impact on performance." | 2023-08-14T14:22:24 | 2023-08-14T14:30:01 | {} | MEMBER |
vuejs | core | 1,678,602,939 | 7,285 | Ives7 | Anything new? | 2023-08-15T08:42:43 | 2023-08-15T08:42:43 | {} | NONE |
vuejs | core | 1,538,046,374 | 7,448 | ferferga | @weidehai Unless I'm missing something, there's a removeEventListener in a `onBeforeUnmount` hook | 2023-05-08T09:23:13 | 2023-05-08T09:23:13 | {} | CONTRIBUTOR |
vuejs | core | 1,538,060,938 | 5,395 | xzzfxz | 我是vue-tsc版本太低了,升级一下就好了 | 2023-05-08T09:35:34 | 2023-05-08T09:35:34 | {} | NONE |
vuejs | core | 1,538,715,152 | 7,719 | hminghe | You can do this
```vue
<script lang="ts" setup>
import { useAttrs } from 'vue'
// const emit = defineEmits(["confirm","cancel"]);
const attrs = useAttrs();
const methods = {
cancel_handle ()
{
(attrs.onCancel || dialog_close)()
},
confirm_handle ()
{
(attrs.o... | 2023-05-08T16:49:21 | 2023-05-08T16:49:21 | {} | NONE |
vuejs | core | 1,543,641,877 | 8,276 | ferferga | You didn't post your code, are you sure you're not importing it either? It's a compiler macro, you don't need to import it like defineProps, defineEmits, etc... | 2023-05-11T09:19:22 | 2023-05-11T09:19:22 | {} | CONTRIBUTOR |
vuejs | core | 1,545,178,728 | 8,293 | baiwusanyu-c | The same is true for 3.2.47 in the playground. In which version 3.2 can you use this? I think compiled macros will not be parsed in runtime-related methods, you should use them in the setup top-level scope or supported compiled macro functions | 2023-05-12T05:19:34 | 2023-05-12T05:25:53 | {} | MEMBER |
vuejs | core | 1,539,234,645 | 8,222 | edison1105 | > @edison1105 Why just in dev?
see https://github.com/vuejs/core/issues/8216#issue-1692703003
> What is actually happening?
It normally modifies the count in the child component and is the latest value when the count is printed without any effect.
I found that switching to the dev version of the Vue SFC Playgroun... | 2023-05-09T00:40:18 | 2023-05-09T00:40:18 | {} | MEMBER |
vuejs | core | 1,541,296,988 | 6,605 | colinj | I found a workaround but it involves using an additional class as an anchor for the `:deep` selector.
Using the above example from @arrudaje:
```scss
.element {
&__block {
color: #aa8855;
}
}
```
You can add a dummy class (eg `.parent`):
```scss
:deep(.parent) {
.element {
... | 2023-05-10T03:29:05 | 2023-05-10T03:29:42 | {} | NONE |
vuejs | core | 1,543,587,959 | 5,303 | Hulkmaster | @LinusBorg not sure why is closed, it is indeed a problem and as mentioned above i do not install heavy-weighted lib in order to solve another lib problem
i have a legacy project, where i cannot refactor all at once and have to refactor gradually, introducing hacks from time to time, while fixing other problems
a... | 2023-05-11T08:43:42 | 2023-05-11T08:43:42 | {
"+1": 2
} | NONE |
vuejs | core | 1,544,470,879 | 8,286 | dimatakoy | @yyx990803 , can you check this issue? Looks like code was broken after refactoring. | 2023-05-11T18:18:55 | 2023-05-11T18:18:55 | {} | NONE |
vuejs | core | 1,544,965,357 | 8,289 | leopiccionia | If this feature graduates from experimental to stable, snippets like Nuxt's would break, anyway, because `error` prop would suddenly become reactive, right? So, while destructuring props might be a valid pattern that should be considered by the compiler, just regressing to previous behavior may not be future-proof. | 2023-05-12T01:14:11 | 2023-05-12T01:14:11 | {} | CONTRIBUTOR |
vuejs | core | 1,545,068,277 | 8,291 | Hccake | have the same problem | 2023-05-12T03:51:20 | 2023-05-12T03:51:20 | {} | NONE |
vuejs | core | 1,545,191,286 | 8,291 | baiwusanyu-c | I found this issue earlier, don't know if this PR will fix it | 2023-05-12T05:33:12 | 2023-05-12T05:33:12 | {} | MEMBER |
vuejs | core | 1,537,864,638 | 8,246 | yyx990803 | This doesn't look like the right fix... | 2023-05-08T07:09:06 | 2023-05-08T07:09:06 | {} | MEMBER |
vuejs | core | 1,538,009,793 | 7,184 | Evertvdw | I don't want to be annoying but this PR has been ready to merge for half a year now, and it fixes serious hydration errors. Can this be merged so I can finally get rid of those errors? | 2023-05-08T08:58:45 | 2023-05-08T08:58:45 | {
"+1": 3
} | NONE |
vuejs | core | 1,538,027,590 | 7,666 | quannt-paypay | @lixiaofa Facing the same issue, any ideas how you fixed this? | 2023-05-08T09:09:40 | 2023-05-08T09:09:40 | {} | NONE |
vuejs | core | 1,538,703,286 | 7,444 | productdevbook | @yyx990803 we need this in oku-ui, for example we need to go back the <div> element types so that volar can suggest user auto-suggestion with both props and attrs types.
can you review and include this? | 2023-05-08T16:39:12 | 2023-05-08T16:39:12 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,539,725,178 | 8,259 | edison1105 | @baiwusanyu-c
> relate:
[62e71b5](https://github.com/vuejs/core/commit/62e71b5320cd9bff57e2f515342dfb0a3ba208ec)
should be e1475129fc6f8c086c2ec667476900b8c8f46774 | 2023-05-09T08:55:44 | 2023-05-09T08:55:44 | {} | MEMBER |
vuejs | core | 1,543,244,027 | 8,255 | biuabiu | > Do you mean this project? https://github.com/FranckFreiburger/http-vue-loader
>
> According to its readme there's a successor project for Vue 2 and Vue 3
thanks for you reply.sure,this project can use.
| 2023-05-11T02:34:49 | 2023-05-11T02:34:49 | {} | NONE |
vuejs | core | 1,543,467,928 | 8,270 | yyx990803 | I can't reproduce this from your linked reproduction. Maybe this only happens on Windows? | 2023-05-11T07:21:42 | 2023-05-11T07:23:06 | {} | MEMBER |
vuejs | core | 1,543,652,878 | 8,276 | yanbowe | > You didn't post your code, are you sure you're not importing it either? It's a compiler macro, you don't need to import it like defineProps, defineEmits, etc...
我提供的代码是最新的,而且defineModel默认是关闭的,需要配置显性开启吗
<img width="1126" alt="image" src="https://github.com/vuejs/core/assets/43030980/a16f2f0f-7a97-4d37-a3ff-abb76e6... | 2023-05-11T09:26:54 | 2023-05-11T09:26:54 | {} | NONE |
vuejs | core | 1,538,024,633 | 8,222 | ferferga | @edison1105 Why just in dev? | 2023-05-08T09:07:44 | 2023-05-08T09:07:44 | {} | CONTRIBUTOR |
vuejs | core | 1,538,051,940 | 8,254 | zc-tired | 好吧,,现在只有3.2.47,,好久发布3.3出来啊
------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年5月8日(星期一) 下午5:06
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [vuejs/core] 希望在组合式api的script上添加name属性和inheritAttrs等属性..这样就不用还要单独写一个script (Issue #8254)
3.3 ... | 2023-05-08T09:27:55 | 2023-05-08T09:27:55 | {} | NONE |
vuejs | core | 1,538,018,978 | 2,349 | samueleiche | > Something like this can work too (works well when you have multiple instances, unlike the one above)
>
> ```
> beforeUpdate(el) {
>
> if (el.isConnected && !el.isActive) {
> el.isActive = true
> activated(el)
> }
>
> if (!el.isConnected && el.isActive) ... | 2023-05-08T09:04:25 | 2023-05-08T11:21:32 | {} | NONE |
vuejs | core | 1,539,579,889 | 8,258 | Shyam-Chen | https://vuejs.org/guide/built-ins/suspense.html#combining-with-other-components | 2023-05-09T07:07:24 | 2023-05-09T07:07:24 | {} | CONTRIBUTOR |
vuejs | core | 1,541,405,088 | 6,256 | itwondersteam | any sign that this PR will get updated and get merged? bumped into this issue today as the defineExpose currently is not behaves consistently. | 2023-05-10T06:07:45 | 2023-05-10T06:07:45 | {
"+1": 5
} | NONE |
vuejs | core | 1,543,319,759 | 8,269 | Alfred-Skyblue | > Type exporting will not be included in JavaScript files, so it won't really affect the bundle size.
>
> Mainly, we don't want to export all the types to userland.
At present, I only deal with the files that have been exported of all types, and only some types of files have been exported. I have not fully export... | 2023-05-11T04:34:55 | 2023-05-11T04:34:55 | {} | MEMBER |
vuejs | core | 1,543,667,979 | 8,276 | ferferga | @yanbowe What I meant is that you didn't use something like `import { defineModel } from 'vue'` (and any other variation of that) since that's a common misconception, as `defineModel` are meant to be used just like with defineProps and all other macros.
I noticed just now you attached a repo, which I dind't before (... | 2023-05-11T09:35:42 | 2023-05-11T09:35:42 | {} | CONTRIBUTOR |
vuejs | core | 1,543,730,295 | 8,278 | yyx990803 | 这是预期行为。使用渲染函数时 ref 不会像 template 里一样自动解包。 | 2023-05-11T10:19:24 | 2023-05-11T10:19:24 | {} | MEMBER |
vuejs | core | 1,543,750,258 | 8,279 | yyx990803 | Shouldn't this be considered a TypeScript bug? Vue is providing the correct types, it shouldn't matter what format the importing file is. | 2023-05-11T10:34:56 | 2023-05-11T10:36:35 | {} | MEMBER |
vuejs | core | 1,538,043,016 | 7,181 | dword-design | Is there an easy way to test if this PR works? | 2023-05-08T09:20:29 | 2023-05-08T09:20:29 | {} | NONE |
vuejs | core | 1,538,054,680 | 7,271 | jacekkarczmarczyk | > You need to do `computed<string | number>({...)`
@ferferga If you do `computed<string | number>({...)` then computed's value will have type `string | number` and not `number`, so it's not a solution
| 2023-05-08T09:30:26 | 2023-05-08T09:30:26 | {} | CONTRIBUTOR |
vuejs | core | 1,539,789,871 | 7,268 | safonov-ruslan | UP for merge! Please pay attention to this PR | 2023-05-09T09:35:36 | 2023-05-09T09:35:36 | {} | NONE |
vuejs | core | 1,532,802,089 | 8,131 | jcarlosroldan | I forked the [SFC Playground](https://play.vuejs.org/#eNqdVm1v4kYQ/itTVJ2N5Jh+ppA2F3E6PpRUR9KqspFusRfYxt61dtdECPm/d/bFxoZEOjWKBLPzss8887KcRw9VFR9rOpqOZpqWVUE0vU95qmef6/3+9EXIEqZHUtR0no52KP1lvqcj+L2ucrTtdE70WhthEEOfKmOlaEEzje6clEbORM21POHBVFSaCa7wMAleONM0h7XGkCqIIFhXhPFgk44mPxxaGedhYHv05MQ21GzSRXJyJen9+QxdrtA0s4k5TPls0q... | 2023-05-03T10:37:28 | 2023-05-09T10:36:47 | {} | NONE |
vuejs | core | 1,540,083,213 | 7,184 | jakubhruby | > I don't want to be annoying but this PR has been ready to merge for half a year now, and it fixes serious hydration errors. Can this be merged so I can finally get rid of those errors?
I'm also blocked by this. | 2023-05-09T13:01:52 | 2023-05-09T13:01:52 | {} | NONE |
vuejs | core | 1,543,586,965 | 7,188 | lukadriel7 | Was really hoping to see this fixed in 3.3 ... | 2023-05-11T08:43:01 | 2023-05-11T08:43:01 | {
"+1": 1
} | NONE |
vuejs | core | 1,543,610,427 | 8,276 | ferferga | @yanbowe Did you opt in? https://github.com/vuejs/rfcs/discussions/503 | 2023-05-11T08:58:46 | 2023-05-11T08:58:46 | {} | CONTRIBUTOR |
vuejs | core | 1,545,020,634 | 8,285 | yanbowe | same here | 2023-05-12T02:33:31 | 2023-05-12T02:33:31 | {} | NONE |
vuejs | core | 1,537,838,177 | 8,212 | yyx990803 | This is necessary because the raw id could already be a short id. | 2023-05-08T06:44:48 | 2023-05-08T06:44:48 | {} | MEMBER |
vuejs | core | 1,537,957,560 | 7,942 | baiwusanyu-c | @johnp Thank you for your feedback, but there seems to be no problem in my local project test.
<img width="409" alt="658d45c699b05b75266aebc90126d51" src="https://user-images.githubusercontent.com/32354856/236771068-d120547d-990b-4fa9-bc29-9b055cdaf300.png">
It seems that your test method does not take effect in vite... | 2023-05-08T08:25:22 | 2023-05-08T08:35:30 | {} | MEMBER |
vuejs | core | 1,538,049,768 | 7,271 | ferferga | @otomad You need to do `computed<string | number>({...)`
This is fully documented: https://vuejs.org/guide/typescript/composition-api.html#typing-computed | 2023-05-08T09:26:06 | 2023-05-08T09:26:06 | {} | CONTRIBUTOR |
vuejs | core | 1,541,857,696 | 4,804 | benkroeger | @posva I actually deleted my fork for this PR a while ago and can not restore it - so I am no longer able to update my contributions in this PR.
I've opened a successor PR #8268 and hope that we can continue working there. | 2023-05-10T10:08:22 | 2023-05-10T10:42:12 | {} | NONE |
vuejs | core | 1,543,482,495 | 8,270 | yyx990803 | Should be fixed with `@vitejs/plugin-vue` 4.2.2 | 2023-05-11T07:33:06 | 2023-05-11T07:33:06 | {
"+1": 2,
"heart": 1
} | MEMBER |
vuejs | core | 1,543,654,145 | 8,276 | Cheng-DX | I got the same issue, and it looks like my vue plugin didn't resolve the`defineModel` macro at all🫠
<img width="996" alt="image" src="https://github.com/vuejs/core/assets/68094066/ca216ade-6e21-4e15-b53c-a0833f49858f">
| 2023-05-11T09:27:44 | 2023-05-11T09:27:44 | {} | NONE |
vuejs | core | 1,544,801,563 | 4,314 | yoyo837 | Any update on this? | 2023-05-11T23:00:32 | 2023-05-11T23:00:32 | {
"+1": 5
} | NONE |
vuejs | core | 1,538,065,889 | 7,271 | ferferga | @jacekkarczmarczyk What's the use case for this though? I think allowing this is error-prone.
Computed are derived state, and as such, the getter should have some relation with the setter.
With pure (non-reactive) variables, TypeScript doesn't allow to define a type for "getting" and another for "setting". Neither in... | 2023-05-08T09:39:56 | 2023-05-08T09:39:56 | {} | CONTRIBUTOR |
vuejs | core | 1,538,101,718 | 7,271 | jacekkarczmarczyk | I've only pointed out that your "solution" is not a solution for the problem. Whether the feature can be implemented or not or what are the use cases is a different thing
Anyway, most probably it can't be implemented because of ts limitations, here's a long discussion on this topic: <https://github.com/microsoft/Typ... | 2023-05-08T10:00:19 | 2023-05-08T10:00:19 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,541,473,789 | 5,540 | itwondersteam | facing the same issue, temporary workaround to access the exposed method via `$.exposed`, e.g.
```vue
const myRef = ref()
// <myElement ref="myRef"></myElement>
myRef.value.$.exposed.ExposedMethod()
``` | 2023-05-10T07:15:11 | 2023-05-10T07:16:44 | {
"+1": 9
} | NONE |
vuejs | core | 1,543,225,385 | 8,074 | edison1105 | @Maxim-Mazurok Thanks, It can reproduce the problem. | 2023-05-11T02:19:04 | 2023-05-11T02:19:04 | {} | MEMBER |
vuejs | core | 1,544,507,342 | 8,286 | dimatakoy | The documents say that the syntax I use is possible
<img width="725" alt="Screenshot 2023-05-11 at 21 44 47" src="https://github.com/vuejs/core/assets/107777401/c807a31a-7cd1-4838-ae36-db9a47bdca4a">
Update:
hmm, since EventHandlers<T> uses generic, then extending from HTMLAttributes is impossible? But how it work... | 2023-05-11T18:45:31 | 2023-05-11T18:49:34 | {} | NONE |
vuejs | core | 1,544,602,302 | 8,286 | ahnpnl | I ran into same issue if I do
```
type ButtonProps = Pick<ButtonHTMLAttributes, 'type' | 'id' | 'name'>;
defineProps<ButtonProps>();
``` | 2023-05-11T20:03:38 | 2023-05-11T20:03:38 | {} | NONE |
vuejs | core | 1,545,265,263 | 8,276 | Shinigami92 | @yyx990803 I still get eslint error for
```
'defineModel' is not defined. eslint[no-undef](https://eslint.org/docs/latest/rules/no-undef)
```
It works for `defineProps` and the other stuff | 2023-05-12T06:55:45 | 2023-05-12T06:55:45 | {
"+1": 2
} | CONTRIBUTOR |
vuejs | core | 1,545,281,983 | 8,293 | 1739616529 | > The same is true for 3.2.47 in the playground. In which version 3.2 can you use this? I think compiled macros will not be parsed in runtime-related methods, you should use them in the setup top-level scope or supported compiled macro functions
vue@3.2.47 ok | 2023-05-12T07:10:21 | 2023-05-12T07:10:21 | {} | NONE |
vuejs | core | 1,538,021,131 | 8,254 | zc-tired | 好吧,谢谢..还要引入单独的啊
------------------ 原始邮件 ------------------
发件人: "vuejs/core" ***@***.***>;
发送时... | 2023-05-08T09:05:38 | 2023-05-08T09:05:38 | {} | NONE |
vuejs | core | 1,539,637,363 | 8,206 | baiwusanyu-c | @danielroe In fact, for ssr in #8242 , this error also exists. Evan and I have similar ending ideas. They both avoid calling the resolved method repeatedly, but we both forget to deal with hydration.
I resubmitted a pr to fix it, hope Evan can take a look
@yyx990803 | 2023-05-09T07:58:26 | 2023-05-09T07:58:26 | {
"+1": 2
} | MEMBER |
vuejs | core | 1,542,101,837 | 5,952 | zsavajji | This single issue is preventing me from trying to migrate our next projects to the Nuxt 3 ecosystem, it's a pretty huge deal breaker 😢
| 2023-05-10T12:15:15 | 2023-05-10T12:15:15 | {
"+1": 7
} | NONE |
vuejs | core | 1,543,624,163 | 8,276 | yanbowe | > @yanbowe Did you opt in? [vuejs/rfcs#503](https://github.com/vuejs/rfcs/discussions/503) @yanbowe 你选择加入了吗? vuejs/RFCS#503
yes

| 2023-05-11T09:07:09 | 2023-05-11T09:07:09 | {} | NONE |
vuejs | core | 1,543,639,056 | 8,276 | yanbowe | defineModel也并不存在于vue的Options类型中

| 2023-05-11T09:17:25 | 2023-05-11T09:17:25 | {} | NONE |
vuejs | core | 1,543,683,276 | 8,276 | yanbowe | > @yanbowe What I meant is that you didn't use something like `import { defineModel } from 'vue'` (and any other variation of that) since that's a common misconception, as `defineModel` are meant to be used just like with defineProps and all other macros.
>
> I noticed just now you attached a repo, which I dind't be... | 2023-05-11T09:46:18 | 2023-05-11T09:46:18 | {
"+1": 1
} | NONE |
vuejs | core | 1,544,800,778 | 7,968 | yoyo837 | Any update on this? | 2023-05-11T23:00:08 | 2023-05-11T23:00:08 | {} | NONE |
vuejs | core | 1,537,836,457 | 8,252 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4912266019)
| suite | result |
|-------|--------|
| [naive-ui](https://github.com/vuejs/ecosystem-ci/actions/runs/4912266019/jobs/8771093189) | :x: failure |
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4912266019/jobs/8771... | 2023-05-08T06:42:46 | 2023-05-08T06:49:56 | {} | CONTRIBUTOR |
vuejs | core | 1,538,002,531 | 8,254 | baiwusanyu-c | see:https://vue-macros.sxzz.moe/zh-CN/macros/define-options.html
vue3.3 is on the way | 2023-05-08T08:55:12 | 2023-05-08T08:55:12 | {} | MEMBER |
vuejs | core | 1,538,042,563 | 7,030 | dword-design | Hey, would like to push this because this issue has implications if you run e.g. requests in a watcher. There will be redundant requests with potentially invalid values. In a project that I'm working on we have a lot of logspam because of it. | 2023-05-08T09:20:04 | 2023-05-08T09:21:08 | {
"+1": 3
} | NONE |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.