Results 70 comments of Viktor Hubert

Unfortunately I don't use vue, so not entirely sure how React's lifecycle methods translate there. It shouldn't be too hard though, all you need to do is to create a...

It would also be beneficial if such conditions got grouped, instead of let separated like in the example. (Won't solve this issue, but at least saves some bytes.)

can't you get the original element that you observe in the callback, as well as the newly injected one? If that's not possible, we can use a function I've used...

Yeah, that's what I said too. there's a function in the code somewhere that does exactly that: traverses the DOM tree up from a given element until it finds a...

Hmm there's should be. I'll check as well On Fri, 27 Apr 2018, 23:11 Ahmad Alfy, wrote: > Do you mean that there is a function that takes a descendant...

Okay, so the function is only similar, not entirely the same: it's the `hasDifferentContainerParent` method in `adjustContainer.js`. That one accepts a container and an html element, and tells you whether...

I think you might be able to achieve what you want with the current hook. When you don't pass in an element to to hook to be observed, then the...

Great, I'll leave this issue open until it's documented, I think it's an interesting use-case. @martinstark can you just also confirm when you did the implementation if there were anything...

Thanks for sharing! That's not something I can recommend in the docs with the delete and all though, so I'll probably just use my original recommendation. It seems like the...

I'm not sure what you mean by asking if there's a container concept? A container is an element that can contain other elements. Coming with a React background I might...