usage of provide: mutates mixins

This issue has been created since 2022-10-26.

Version

2.7.13

Reproduction link

stackblitz.com/edit/js-cz6vhx

Steps to reproduce

  1. Open stackblitz repo
  2. Observe output

What is expected?

"black hair and brown eyes" should be in output

What is actually happening?

"red hair and brown eyes" is in output


Vue.js mutates mixin itself during rendering

image

qibing147147 wrote this answer on 2022-10-28

I read the source code and found that it directly modifies the reference of provide, and it also does so in the case of Vue 2.6

image

image
image

More Details About Repo
Owner Name vuejs
Repo Name vue
Full Name vuejs/vue
Language TypeScript
Created Date 2013-07-29
Updated Date 2022-12-10
Star Count 201155
Watcher Count 6070
Fork Count 33134
Issue Count 595

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Resource Specific Access: Ability to provide fine grained access to individual resources like a workloads, pods, services etc. 0 2022-09-06 2022-12-01
One Click deploy fails with "invalid repository url" 1 2020-07-11 2022-12-05
Add tabular-classification to detailed parameters 0 2022-10-13 2022-11-16
Add missing funds banner to `Check Address Modal` 0 2021-08-10 2022-09-18
bug: BoundsError when the skip function returns true for all points 3 2022-07-08 2022-10-12
How do you get three HR that have same downsampled LR? 0 2021-04-21 2022-11-16
Update Legacy.vbproj from .NET Framework net452, .NET Framework net461 to LTS (or current) version 0 2021-01-29 2022-12-04
SwiftUI TextFields do not accept typed in characters in preview mode. 1 2021-12-29 2022-10-15
IDE not loading in VSCode 7 2022-01-27 2022-12-01
Feature request: change default value for `hidden_filter` 1 2021-10-25 2022-11-04
Add support for Windows x64 Libdnet-Stripped Build 0 2021-12-15 2022-11-05
Taro React 使用 @tarojs/plugin-html 插件, textarea 标签的 maxLength 属性不生效 0 2022-11-14 2022-12-07
Featured Required Language Translation settings 1 2022-02-12 2022-03-12
Azure backup retention - HTTP request failed with 409 (This operation is not permitted on a non-empty directory.) 2 2022-06-02 2022-11-08
Segmentation fault (core dumped) 6 2022-06-02 2022-11-01
Can't sneak and walk beside chest 4 2022-01-18 2022-07-16
Reading .csv files from a specific google drive folder example 1 2016-09-12 2022-11-27
Featurerequest: Background logo customizable 1 2022-03-18 2022-11-20
[UX Review] Change the order of the setting groups in SAML client 1 2022-02-08 2022-10-07
Multiple AAD support 3 2019-01-08 2022-10-12
Open Source Friday 14/10/2022 2 2022-10-14 2022-11-01
Contact card is offline when we delete stage used by lead 2 2022-10-14 2022-11-01
Extra line created for css property 1 2021-03-18 2022-10-23
Question: help me please 1 2022-08-04 2022-11-28
vxe-grid v4.x 中的渲染函数renderEdit(renderOpts, params) 中params的$table希望能加入editRules 和params 两个属性 1 2021-08-19 2022-12-05
can not build nest app 0 2022-01-13 2022-11-18
The mask information was incorrectly converted 3 2022-01-04 2022-09-28
README needs a few tweaks 1 2021-04-29 2022-10-02
Hindi experiment: - Control (same as the current Hindi page) 2 2022-02-16 2022-09-21
Start at 30fps and increase to 60fps if the page can handle it 1 2016-01-15 2022-11-27
Generics don't work properly when passing down slot props 4 2022-01-22 2022-11-20
how to fix scons error "[src\core\AABB.o] the system cannot find the file specified" on visual studio command prompt 8 2021-07-10 2022-12-09
Link and NavLink react-router-dom components :hover not working 9 2017-06-21 2022-12-02
Wallet is not an accounts.Wallet anymore 2 2021-07-20 2022-11-07
Invalid private key generation 3 2020-02-27 2022-11-07
Expand vscode approot for inverse search arguments 1 2021-10-21 2022-09-21
Update status of track 0 2021-01-29 2022-11-24
Generated unit test for dataform fails with `Couldn't build proto file into descriptor pool!` 2 2022-07-05 2022-11-20
render() not working on Mac and Linux 2 2022-01-09 2022-11-26
Harvester "Unexpected Errors" in CoRIS FGDC Metadata harvest source 13 2020-07-07 2022-09-21
Call to method Request::hasSession() will always evaluate to true. 13 2020-06-08 2022-09-18
Support for pytest v7 0 2022-02-07 2022-12-03
Ability to pin ipns names 12 2015-07-11 2022-11-30
Change from deprecated cl library to non-deprecated cl-lib. 1 2021-05-17 2022-11-29
Enderman Melon farm 1 2021-09-26 2021-10-04
[BUG] "TypeError: Cannot read properties of undefined (reading 'childFrames')" when running tests in Firefox 0 2022-10-28 2022-10-25
[BUG] Concatenating xpath locator that starts with an axes fails 1 2022-10-28 2022-10-25
Reintroduce `Fprintf` as a log sink 0 2021-12-17 2022-05-20
[Bug Report] Env render flickering on WSL 3 2021-09-24 2022-11-05
Using pgbouncer as a standalone? 5 2018-04-17 2022-11-11