Skip to content

Commit e7eea11

Browse files
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

File tree

0 commit comments

Comments
 (0)