-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Labels
🐞 bugSomething isn't workingSomething isn't workinghas workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: reactivity
Description
Reproduction
Steps to reproduce the bug
- Navigate to the TestView component in the browser
- Click the button, testData count property is incremented
- Navigate away from it (staying in the SPA)
- Navigate back to TestView
Expected behavior
The button should cause testData.count to be incremented, even after re-mounting the component.
Actual behavior
After navigating back to the component clicking the button updates the refresher, but not testData
testStore.js?t=1675088280233:17 Refresher: 0.05272026601141877
testStore.js?t=1675088280233:11 Watch effect running 0.05272026601141877
testStore.js?t=1675088280233:17 Refresher: 0.937791768731258
testStore.js?t=1675088280233:11 Watch effect running 0.937791768731258
# Navigate away
logger.js:197 [Router] BeforeEach /passes
logger.js:197 [Router] AfterEach: /passes
# Then back
logger.js:197 [Router] BeforeEach /test
logger.js:197 [Router] AfterEach: /test
testStore.js?t=1675088280233:17 Refresher: 0.558079237843816
testStore.js?t=1675088280233:17 Refresher: 0.31739197899941574
Metadata
Metadata
Assignees
Labels
🐞 bugSomething isn't workingSomething isn't workinghas workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: reactivity