DEV Community

Discussion on: 2 Ways To Dynamically Load Angular Components

nightwolfdev profile image
nightwolfdev Author

That's great! I'm looking forward to try Vue next. Is it just as easy to pass data to the component that's loaded like that?

wparad profile image
Warren Parad

Yeah it doesn't matter if you have:
<component :is="widget" :prop1="1" />
<:widget :prop1="1" />

You'll get the same thing rendered.