default-passive-events icon indicating copy to clipboard operation
default-passive-events copied to clipboard

Planned removal of crucial DOM events

Open partiid opened this issue 1 year ago • 3 comments

Hello, lighthouse detects this library as depracated due to planned removal of some DOMevents:

DOM Mutation Events, including DOMSubtreeModified, DOMNodeInserted, DOMNodeRemoved, DOMNodeRemovedFromDocument, DOMNodeInsertedIntoDocument, and DOMCharacterDataModified are deprecated (https://w3c.github.io/uievents/#legacy-event-types) and will be removed. Please use MutationObserver instead.

The library is great, are you planning to migrate to MutationObservers instead? I think it would be worth giving it a try.

partiid avatar Aug 23 '23 09:08 partiid

Hey @partiid!

Could you elaborate a bit more about the problem? In this library none of DOM* events are used. Also - MutationObserver shouldn't be needed in the implementation either.

FRSgit avatar Aug 25 '23 08:08 FRSgit

image

therampagerado avatar Apr 09 '24 21:04 therampagerado

Hello, sorry for not replying. The screen above says it all. If noone of them are used, why lighthouse detects it as deprecated API?

partiid avatar Apr 09 '24 22:04 partiid