When extending a component which uses the composition API, how can you override 'watch' behaviours? #8002
Unanswered
chrissyast
asked this question in
Help/Questions
Replies: 1 comment 4 replies
-
This has a short answer: you can't. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to extend a third-party component and keep everything the same except there is one
watch
behaviour which I want to override.The component is written using Composition API. I don't mind which API my overriding component uses, whichever is easier.
My current code just replicates the existing behaviour...
...but the component I'm extending has a watch function which I want to override...
What do I need to do on
MyExtendedComponent
to override this?Beta Was this translation helpful? Give feedback.
All reactions