Jason Miller
Jason Miller
I think `querySelector()` / `querySelectorAll()` would be nice to have, but it seems like the kind of thing that could just be bolted on as part of setup (or in...
Ah yeah, I figured those layout methods were basically faked. The recursive nature of layout computation seems like overkill for anything aiming to be lightweight. I pulled MutationObserver from core...
One option there would be to have a monorepo (perhaps set up via [lerna](https://lernajs.io)), but publish the packages separately (`undom-foo`, etc). That would centralize development and versioning for whatever list...
Same. I can take a stab at the initial setup if that seems like a good approach.
Ah - good call, the serializer should at least support `innerHTML`. FWIW I have been meaning to make undom pluggable for some time now - the thoughts were outlined here:...
@mindplay-dk I think we can just add internal helper methods that live off the class, like remove(parent, child).
ahh - good catch. This can serve as the basis for that plugin. Preact's innerHTML usage is pretty standard, it uses `innerHTML=''` to wipe as that's fastest.
Hiya @trusktr! I've used Undom for that exact use-case. In the case of A-Frame, it's already possible to accomplish this in the browser by using a disconnected DOM: ``` const...
@natemoo-re Are you using the `{ pretty: true }` option? It's really only designed for use in things like tests - none of the options for renderToString() are part of...
@natemoo-re ah okay, good. I'd like to remove this from the default render to string implementation.