Files
WRNexusJS/packages
ClintchizandClaude Opus 5 8069541cd9 refactor(csr): one document observer with subscribers
Overlay clamping, dialog focus, roving focus and scrollspy each ran their own
MutationObserver over the same stream of records. They now share one, with the
per-feature work registered as subscribers. Every subscriber already defers,
so the extra callbacks are cheap and the bookkeeping is paid for once.

The attribute filter stays explicit rather than observing everything: an
unfiltered observer would see the tabindex the roving code writes and loop on
its own output.

This is better structured but it is not a fix for the size budget -- it buys
82 bytes of headroom, not room to grow. Splitting the runtime so a page pays
only for the behaviour it uses is still the outstanding decision.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-07 19:26:57 +05:30
..
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30