I have written a “tab component” that shows some tabs. Clicking on a tab displays the associated panel with information.
Now I want to e.g. add tabs dynamically (info is pushed by the server) which means that I have to find the instance of the tab component in order to manipulate its data. Trying to do this, I came up with
__vue__ doesn’t feel right as it is supposed to be a “hidden attribute”. However, registering the instances in some global registry doesn’t feel better and is more difficult to do.
What is the recommended way to find a vue instance of a component by id?
(There is a related issue with no real answer here.)