core
core copied to clipboard
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
To fix [phantom/ghost dependency](https://rushjs.io/pages/advanced/phantom_deps/) that breaks [yarn pnp](https://yarnpkg.com/features/pnp#ghost-dependencies-protection) when overriding `RefUnwrapBailTypes` from `@vue/reactivity` https://github.com/vuejs/core/blob/fef2acb2049fce3407dff17fe8af1836b97dfd73/packages/reactivity/src/ref.ts#L483-L496 in `@vue/runtime-dom` https://github.com/vuejs/core/blob/fef2acb2049fce3407dff17fe8af1836b97dfd73/packages/runtime-dom/src/index.ts#L29-L33 as described in https://github.com/vuejs/core/issues/951 https://github.com/vuejs/core/issues/6550 ```ts type IsWorking = RefUnwrapBailTypes['runtimeDOMBailTypes'] extends Node |...
### Vue version 3.3.8 ### Link to minimal reproduction https://play.vuejs.org/#eNqFUstOwzAQ/JXFlxapNEK9VWklQJUAiYcAwcWXNN2mKY5t+VGKQv6dtUNDQTxO9s7semc9W7MTrYcbj2zMUpubUjuw6LwGkcliwpmznE25LCutjIMaDC6hgaVRFfSorNdRZ6rSLc7ZMAlReJYzLrnMlbQOKlvAJDzQ752jEAqelBGLg94hl2nS9qZOFDistMgcUgSQro6ndR2LmyZNKIpobLc5qtQCBckkmjNIiEuTrpwNSD71XpbFcG2VpBnrUMxZTtWlQHOjXUnaOBtDZAKXkbSXy4g543Gww/MV5s8/4Gu7DRhntwYtmg3N3HEuMwW6lp7dX+OW7h1J2r2g7D/IO7RK+KCxTTv1ckGy9/Ki2otoQSmLBzvbOpR2N1QQGjKbmM8ZORI+7rfRP+WOhqNYx2VDv7hz858l+bA5WPKYCY/k9gKXpcSrAKXWGZIIbyB9NUcTL0LQMVdKYCan/a+b8G0PSqm9A/eqMXSMv7W/AF3XKGV/C5p3e9v5Lg== ### Steps to reproduce Create a Component with a defineModel that got multiple types ``` const modelValue = defineModel() ```...
RFC: https://github.com/vuejs/rfcs/discussions/597 fixed #9916 Support passing `watch deep` option as a number type, indicating the depth to which the object should be monitored. This allows control over the depth of...
closes #7259 #9296 ## Breaking Changes This PR causes breaking changes, because the types become more stricter on `Component` in general, this is necessary to prevent false type safety by...
- RFC: https://github.com/vuejs/rfcs/pull/496 - Docs PR: https://github.com/vuejs/docs/pull/2315 - [Playground Preview](https://deploy-preview-8048--vue-sfc-playground.netlify.app/#eNp1UL1OwzAQfpXDS2GA7JUbgcTGwACjF5NcUgvbZ9lOEYry7vVPGrVDp9N335/PM3tz7uU0IdszHjqvXISAcXKtsMo48hFm8DjAAoMnA7sk3QkrbEc2JOmR/uCQBY+D1AGfhOVNjUkBCUQ0TsuICQHwnylGsvDaadX9HgRb7Q95ClY0AN80jhr3MM95vSzF2VRrkZRFj1EqHeD0bKhHvYZtITxMxkj/337VmV61Li68k7Z9ryGJzKgWrcFXTUpqGu8WDeQNGIxH6hNXxRu73dx+ftzckJuy81JabAnwZvsxtpwBN2KL3g==)
## Related - #3452 - #5423 - #6528 - #7546 - #7981 - #8264 - #8508 - #8620 - #8902 - #9272 ## RFC - https://github.com/vuejs/rfcs/pull/477 ## Specific scenes ###...
fix #3367 ### Changes - Support for typed `Components` - to allow extraction of the components available - Support for typed `Directives` and `ComponentCustomDirectives` (aka global directives) - Initial support...
In `toRefs`, optional properties are ignored because they may be undefined, preventing us from using `toRefs` to create a `ref` for them. This PR introduces a `Proxy` in `toRefs` to...
**⚠️ Status: Experimental** # Summary See the [RFC](https://github.com/vuejs/rfcs/discussions/585) for details. This PR introduces a new macro called `defineRender` that allows for defining a render function in `` with or without...
fixed #5386 To address the issue of `KeepAlive` repeatedly executing the `effect` in the `deactivate` state, I have added `pause` and `resume` methods to `ReactiveEffect` for pausing and resuming the...