DEV Community

Discussion on: The Magic of Vue's Dynamic Components For Lists of Data

Collapse
 
anduser96 profile image
Andrei Gatej

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.