A brutally simple react infinite scroll component
by jaredpalmerTypeScript
Last 12 weeks · 0 commits
2 of 6 standards met
I used this package in a project, liked it and thought it could be made even simpler by removing dependency and using IntersectionObserver api. From my testing I don't think I broke it functionally. One downside is that IntersectionObserver is not implemented on IE, is this a deal-breaker for this PR? Also, could you provide some more information about the "edge case" in componentDidUpdate? Wouldn't it make sense to avoid loading more information if there is no scroll at all? I would like to write a test for this situation to make sure how it's supposed to work.
Repository: jaredpalmer/react-simple-infinite-scroll. Description: A brutally simple react infinite scroll component Stars: 142, Forks: 24. Primary language: TypeScript. Languages: TypeScript (76.9%), JavaScript (23.1%). License: MIT. Topics: infinite-scroll, react, typescript. Open PRs: 14, open issues: 5. Last activity: 3y ago. Community health: 42%. Top contributors: jaredpalmer, pgarciacamou, nucleartux, baobabKoodaa, bradwestfall, moretti, Hurtak.