• v1.9.0 9d62ae0525

    nthxuyen released this 2026-10-26 13:35:12 +01:00 | 9 commits to main since this release

    Each module now starts one viewport before it scrolls into view, instead of at page load (immediately where IntersectionObserver is unavailable). On a page where the reviews sit far below the fold this removes ~300 ms of long tasks from load (PSI desktop, 2026-10-26: 93 → 95 and 91 → 97 on two pages).

    New: a bubbling google-reviews:ready event on the module root, event.detail.instance = the module instance.

    ⚠ Breaking: element.googleReviewsInstance no longer exists at DOMContentLoaded. Code that polls for it on load must listen for google-reviews:ready instead. Known integration: Horizon src/js/components/accueil-avis.js (polls for 5 s) — update it before upgrading Horizon past 1.8.x.

    Includes 1.8.1 (batched layout reads).

    Sites: MCA (mca.wesa.fr) installed 2026-10-26. Horizon stays on 1.6.x.

    Downloads