KeepAlive state #829
davidknapman-cl
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there some way for a component to know if it's a part of a KeepAlive tree? I have a component that only makes sense to use within a kept-alive context but I can't see anything documented that would let me determine that during setup and issue a console warning if we're being misused.
In addition, I seem to keep having to implement:
The Vue Developer Tools seem to have access to this state in some form and show various components as
inactivewhen inspecting the component tree - but is this exposed to components themselves and if so, would it be reactive?Beta Was this translation helpful? Give feedback.
All reactions