[Vuejs]-VueJS 2 – Update modal component when passing in data

0👍

Is there a reason to not use Dynamic Props on your component?

You could use only one dynamic prop as this

<script>
    export default {
        props: ['myobject']
    }
</script>

Now every change on myobject or in its properties will be automatically reflected on your template

Leave a comment