You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
click go to bar and then click go to foo, to make the component Bar deactivated.
click go to bar, modify the code line 18 in Bar.vue: const message = ref("test") -> const message = ref("any other words").
What is expected?
New message was shown.
What is actually happening?
TypeError: parentComponent.ctx.deactivate is not a function.
I have seen the similar issues and they do not resolve this problem. This issue was mentioned in the latest comment in #4387 . The parentComponent of Bar is itself instead of keep-alive When HMR occurs.
The text was updated successfully, but these errors were encountered:
Version
3.2.24
Reproduction link
codesandbox.io
Steps to reproduce
go to bar
and then clickgo to foo
, to make the componentBar
deactivated.go to bar
, modify the code line 18 inBar.vue
:const message = ref("test")
->const message = ref("any other words")
.What is expected?
New message was shown.
What is actually happening?
TypeError: parentComponent.ctx.deactivate is not a function.
I have seen the similar issues and they do not resolve this problem. This issue was mentioned in the latest comment in #4387 . The
parentComponent
ofBar
is itself instead ofkeep-alive
When HMR occurs.The text was updated successfully, but these errors were encountered: