We use scoped style in component in Vue and it has advantages. But suppose I have a component like BoxComponent.vue and defined one class.
<style scoped>
.box-component{
float: left;
flex-grow: initial !important;
margin: 0 3px;
}
</style>
I think it might be good to use this in one or twice but when I use this in loop maybe hundreds of loops, then It will generate independent style classes because vue-loader will treat each item differently.
In that case I think it could be problem in terms of speed and memory usuage. Can anybody elaborate this please? When it is good to use scoped style or global style in Vue.js?