13 comments

[ 4.7 ms ] story [ 42.5 ms ] thread
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?

Was thinking the same thing.
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

"Pure CSS" is a term that implies there is no JavaScript involved. I suggest rewording the readme so it doesn't confuse.
Why not use some box-shadow so it looks like a shadow rather than a line?
Why does everything as simple as this need to be a React project these days? It would be so much better if it was pure vanilla CSS or a Pen.
I guess it doesn't have to be a React component, you are right. But just by doing so you get a lot of things for free and makes it easier for people to start using it, like, you just install it, require it, and you are good to go... that was the motivation beyond using React for it