javascript · 2 Jun 2021 My secret to super-fast A/B test loading How wrapping querySelector in a MutationObserver kills the FOUC in A/B tests — your variant fires the instant the target element lands in the DOM.
javascript · 4 Feb 2020 Notify enter viewport the proper way: Intersection Observer Replacing my old rAF-based viewport tracker with IntersectionObserver — the simpler, lazier, dramatically less complicated way to fire A/B test events.