Hacker News new | ask | show | jobs
by kentbrew 405 days ago
That's a code smell. If you're creating the element you ought to already know about it. If you're not creating the element you should inventory them all at once as the page (or component) loads.