I am trying to implement a delete event DOM manipulation functionality using MutationObserver JavaScript library, and this line causes me confusion:
const config = {attributes: true, childList: true, subtree: true};
I did not find any explanation about what is the difference between childList and subtree, and when is it appropriate to use either one?
Can anyone clarify? Thanks!