Karsten Schmidt

Results 212 comments of Karsten Schmidt

Yeah, that could maybe work, though as I mentioned, the larger issue is how to deal with dynamic adds/removals of inputs (also a kind of key feature of `sync`). It's...

So far this was purposely excluded, largely for these two reasons: 1) it can (most likely will) mess with the diff, which in hdom never tracks the real DOM and...

I'll still have to study this example of yours more closely (a bit complex to follow), but maybe something like this wrapper component could work? https://github.com/thi-ng/umbrella/blob/develop/examples/hdom-inner-html/src/index.ts Live demo here: http://demo.thi.ng/umbrella/hdom-inner-html/

Sorry, @den1k - didn't notice this in your code earlier, but same wavelength! :) I think with the manual cleanup of children in `release()`, this should work and not lead...

Ps. I also think this is a cleaner & more lightweight approach than adding support for `innerHTML` in hdom directly (which would require lots of additional work)...

@den1k after some reading & experimenting it seems we could use the `.isEqualNode()` method of DOM nodes to check for equality, but I will have to go over the hdom...

Node position tracking in hdom is indirectly handled via the `key` attribs injected in each hiccup node in `normalizeTree()`. Reconciliation of equivalent, but moved elements is done via the linear...

w00t! will have to take a look at this later tonight & will report back! thanks for letting me know...

Absolutely agree about the need for a formal grammar and there actually is one, albeit not in strict (E)BNF format, but close enough for now. The original parser was written...

Ciao, @nkint - am back from the mountains... will look into this tomorrow, but 2 things: 1. currently there's no explicit error handling (yet!) for `transform()`ers (transducers) - this will...