Mar 2, 2022
If someone does not know what querySelector does in 2022 he can just DuckDuckGo it in 5 seconds. So that one does not resonate with me.
Querying DOM is an operation that always costs. No matter what function is used. So if you are worried about performance you shouldn't query DOM at all.