Re: [csswg-drafts] [resize-observer] Add option to skip firing on observe (#12608)

What added complexity? My request is simply for a trivial conditional flag that `observe()` could check to decide whether to invoke the callback.

We can argue about performance endlessly, but the fact is that if the developer has to manually discard the unwanted callback, it objectively complicates the user’s code. At the very least, the current API performs unnecessary work and invites unproductive debates about performance.

The core of this request is, first and foremost, about developer ergonomics.

-- 
GitHub Notification of comment by gitspeaks
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12608#issuecomment-3191622168 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 15 August 2025 14:22:01 UTC