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

I still don't get your goal. Is you callback expensive, and then you don't want it called when there is no change for performance reasons? Does the logic in your callback break when there was no change?

> I don’t see why it should be mandatory for the callback to fire on observe() when no change has occurred

It doesn't have to be mandatory, it's just a question of whether the added complexity of the new option is worth it, and I'm leaning towards no.



-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12608#issuecomment-3191588970 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:07:58 UTC