Commit ee6fd3f
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 b6aab5f commit ee6fd3f
2 files changed
Lines changed: 326 additions & 328 deletions
0 commit comments