Closed natemoo-re closed 2 weeks ago
The IntersectionObserver logic added to /db in #1059 consistently skipped highlighting the Features section.
IntersectionObserver
/db
This PR refactors the logic to track the delta between ratios rather than using a naive entry.isIntersecting check.
entry.isIntersecting
Tiny perf improvement by hoisting the selector variable up, too.
selector
The latest updates on your projects. Learn more about Vercel for Git ↗︎
The
IntersectionObserver
logic added to/db
in #1059 consistently skipped highlighting the Features section.This PR refactors the logic to track the delta between ratios rather than using a naive
entry.isIntersecting
check.Tiny perf improvement by hoisting the
selector
variable up, too.