Hacker News new | ask | show | jobs
by vonklaus 3677 days ago
The notes say it is computationally expensive and bad for performance.

    Using this selector heavily can have performance implications, as it may force the browser to re-render the page before it can determine visibility. Tracking the visibility of elements via other methods, using a class for example, can provide better performance.
To be clear, it is 17x faster than it was.