Hacker News new | ask | show | jobs
by solidr53 2923 days ago
Doesn't work all the time, you should use IntersectionObserver or ResizeObserver etc.

Edit: I'll rephrase my question, why does the Hacker News Frontpage include stories with zero comments and 1 point?

3 comments

I think we should aim to be more constructive on showHNs.
Can you elaborate why we should use IntersectionObserver/ResizeObserver?

Currently there is no logic in place to do the calculation and detect if there is more available content or not, so I'm 100% sure if understand the issue

Was thinking the same thing.