π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
by vuejsTypeScript
Last 12 weeks Β· 121 commits
3 of 6 standards met
Problem Closes #10505 When a `looseEqualSetmultiple SetObject.keyssetSelectedSet(['foo'])barel._assignedValueupdatedSetSethassetSelectedmultiple select should sync DOM when the Set model is overridden in the change handlervModel.spec.tsSet{foo}barfoonextTick_assigningruntime-domv-modelSet` values. Prevented unnecessary DOM updates when the selected value already matches the model. Tests** Added regression coverage for overridden selections in single- and multiple-select controls.
Vue version 3.6.0-rc.4 (regression introduced in 3.6.0-rc.3 β the same code works on 3.6.0-rc.2) Link to minimal reproduction https://play.vuejs.org/#eNqNU9tq3DAQ/RWhQtJC1i5s6IPjBpqSQkrbhDb0SVBcW95VIktCGnsXlv33jOT1LdmYPEkz58zozEU7+sWYqKk5TWjqcisMEMehNpdMicpoC+SnwFsmSWl1RU6j+GD7oFOm0riNQj4awCsjM+BoEZJ2kYlb681nRsHWnNGAIfq/BtCK5DJzDsFSWAeIfvNnGrfoK1w8PPUHHs+ZnQLyDg/RuV+mMIu5B4/xZx6Np3V3LUJrAtEzOmqe7/g0rhBNl9Fc3ignCk5OJFzc2wwNEFqdrOAiSWM/nUAbEKKyivse9w1uE5JmIUr0+xEw2pezEbBeQB89CsIwJzWQeEgTj4TFw5OD1tsa3iB2Xo2u4bigVs6hvDBUjOzUDdq626TjaI6XmjQZrjT6C14Kxe+sNu79jng1CbnSWvJMkf2HyVbj0MDlWpViFT04rXBsO/8eo7mujJDc3hqv2DGakIB4LJNSb74Hn9/6s86fr3n+eMT/4Lbex+id5Y7bBv9Jj0FmVxzn6uHrP7/4Fu89WOmilsieAX9zp2XddtXTrmpVoOwRL6i9Cd9dqNW9u94Cx0EcigrfFpn7wGcUd/frTOmD3GV0HuKY2mMX/zXc+pzYwGX0Kfq4sHl07v3g/vYI+qMl3T8BIM6CIQ== (Vue version is pinned to 3.6.0-rc.4 in the playground link. Switch to 3.6.0-rc.2 to see the correct behavior.) Steps to reproduce A VDOM parent passes multi-element slot content to a vapor child (via / mixed playground): What is expected? Both slot outlets render both buttons. The `#plainfix(runtime-vapor): support vdom slot content in Transitionβ¦β¦`), where VDOM consumers passing more than one element into the content slot lose everything after the first element.
Summary avoid treating VDOM slot outlets nested below a Vapor `v-oncepnpm exec vp test packages/runtime-vapor/__tests__/components/Transition.spec.ts packages/runtime-vapor/__tests__/components/TransitionGroup.spec.ts packages/runtime-vapor/__tests__/vdomInterop.spec.ts --runpnpm exec vp test packages/runtime-vapor/__tests__/hydration.spec.ts -t 'slot content inside Vapor Transition' --runpnpm run checkpnpm exec vp lint packages/runtime-vapor/src/vdomInterop.ts packages/runtime-vapor/__tests__/components/Transition.spec.ts packages/runtime-vapor/__tests__/hydration.spec.tspnpm exec vp fmt --check packages/runtime-vapor/src/vdomInterop.ts packages/runtime-vapor/__tests__/components/Transition.spec.ts packages/runtime-vapor/__tests__/hydration.spec.ts` Fixes #15303
Fixes #15288 Context & Problem When navigating routes inside a `KeepAlivevnode.component === nullcacheSubtreenullTypeError: Cannot read properties of null (reading 'suspenseId')packages/runtime-core/src/components/KeepAlive.tsinnerChild.component != null` boundary, ensuring clean navigation without null pointer exceptions.
Repository: vuejs/core. Description: π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web. Stars: 54184, Forks: 9187. Primary language: TypeScript. Languages: TypeScript (96.7%), JavaScript (1.7%), HTML (1.1%), Vue (0.5%), CSS (0%). License: MIT. Homepage: https://vuejs.org/ Latest release: v3.5.41 (1w ago). Open PRs: 100, open issues: 804. Last activity: 1h ago. Community health: 62%. Top contributors: yyx990803, dependabot-preview[bot], renovate[bot], edison1105, sxzz, HcySunYang, pikax, underfin, dependabot[bot], Alfred-Skyblue and others.