re: The Magic of Vue's Dynamic Components For Lists of Data VIEW POST

re: Could you explain a bit more? Is <component> a special Vue thing, and the actual component file is whatever is rendered into :is=""?

As far as I know, if you provide a string for the isproperty, it would search through the registered components and will try to find the component, depending on the name that you provided.

The is property also accepts a promise as a value. When would you use a promise? Here is a small demo I wrote a while ago. If you go this route, you do not have to register your components in the
components property.

code of conduct - report abuse