So I did find another solution. Very simple but it does the job. I've added a status property in the object, when deleting the status is changing Then using styling{display: skill.status === 'delete' ? 'none' : 'flex'}
{display: skill.status === 'delete' ? 'none' : 'flex'}
docs