- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 5k
 
Open
Description
The onActivated hook accepts a second parameter of type ComponentInternalInstance, which makes it possible to use it outside the setup block, such as in custom directives. I noticed that the underlying implementation of the vue router's composition api is actually onUnmounted, onDeactivated, and onActivated, which can all specify the component instance by passing in the second parameter.
Metadata
Metadata
Assignees
Labels
No labels