Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9k
Open
Description
Vue version
3.5.25
Link to minimal reproduction
Steps to reproduce
In the example, there are two asynchronous components, withcomp1 included in theinclude list.
Click to switch components, switch tocomp1, then click "increase" to increment the counter, and then click to switch components twice more. You will find that the counter forcomp1 resets to zero.
What is expected?
After switching components, the counter in comp1 should retain its previous value.
What is actually happening?
After switching components, the counter in comp1 is reset to 0.
System Info
System: OS: Windows 11 10.0.26100 CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz Memory: 2.30 GB / 15.88 GB Binaries: Node: 22.18.0 - C:\Program Files\nodejs\node.EXE npm: 10.9.3 - C:\Program Files\nodejs\npm.CMD Browsers: Chrome: 143.0.7499.41 Edge: Chromium (140.0.3485.54)
Any additional comments?
I've found the problem and the solution; can I submit a pull request?