amphtml
amphtml copied to clipboard
Migrate instances of legacy `observeWithSharedInOb`/`unobserveWithSharedInOb` to `observeIntersections`/`unobserveIntersections`
As part of #35835, we added a couple of new methods observeIntersections/unobserveIntersections which use a shared InOb in a Window. There are still many components that are using the legacy observeWithSharedInOb/unobserveWithSharedInOb that we need to migrate.
Based on this comment also look into updating observeIntersections to return a cleanup closure.