Commit e7eea11
committed
feat: rewrite core as function component with IntersectionObserver sentinel
Replace class component + scroll listeners with a function component that
uses an IntersectionObserver on an invisible sentinel div. Adds
buildRootMargin utility to convert scrollThreshold into a CSS rootMargin
string. Drops throttle-debounce usage entirely.1 parent a640405 commit e7eea11
2 files changed
Lines changed: 326 additions & 328 deletions
0 commit comments