Hacker News new | ask | show | jobs
by isleyaardvark 1359 days ago
JS can do just as well with unique classnames, which avoids issues with ids like those given in the article.
1 comments

I always presumed this would usually entail a performance hit, since you are accessing something that is not defined as unique.
It's an infinitesimal performance decrease, and it avoids a lot of other issues.