I have an array in the following way.
[ "icono-5-4", "icono-7-6", "icono-8-7", "icono-9-8", "icono-1-0", "icono-2-1" ]
I want to reactively remove an element: Know the name of the item until the user clicks on a button. Example, if the client clicks on a button and the button has the value icono-9-8
I would have to delete that element from my array
[ "icono-5-4", "icono-7-6", "icono-8-7", "icono-1-0", "icono-2-1" ]
and so on for this I use:
_.pull(this.array, 'icono-9-8');
but this is not reactive or it does not do it as fast as I want.
this.array.slice(id, 1)