In list rendering v-for in Vue, what is the impact on performance optimization by using vMuthBind _ index _ key = "list"?

such as the following code:

</div>
</template>
</script>

what is the effect on performance optimization if you use vtalk bindvir key = "index" in your code?

Jun.23,2021

the function of key is to prevent the whole list from being re-rendered when the data is updated. Key is equivalent to making a cache and will only re-render the updated data

.

https://cn.vuejs.org/v2/api/-sharp.

I hope I can help you
Menu