I tried to find a comparison or a reason to why Vue has refs to control an element instead of using classic css ids to control some element like a div for example, can someone explain the difference? is there a performance advantage for refs?
<div ref="hello">
</div>
<div id="hello">
</div>
Update:
I am not asking about this for opinion based answers or just styles, I am searching for any clue regarding performance difference between the 2 approaches