Marcin Radoszewski

Results 37 comments of Marcin Radoszewski

I just thought that if we went this way it would be pretty easy to make an extension function that would make things even cleaner (IMO anyway 😄) ```kotlin div(fomantic.menu).render(state.listAreas())...

I've experimented with this a bit and it seem to work fine but I'm not sure what to do with this: https://github.com/kwebio/kweb-core/blob/c2073e9e5aeebe232772b802edf1a38a7509caa6/src/main/kotlin/kweb/Element.kt#L426-L433 I think that the first `onCleanup` is not...

Yes, getting rid of wrapping `` would do fix things for me. So as I understand - the render function on re-render should remove all `elementsCreated` and then start a...

Are there any other important factors? Like speed for example?

> Oh, and we also need to ensure that any subsequently added elements are added in the same position as those they replace. This one can be hard. If we...

This is nice! Would it work with classes like `render(containerElementTag = "li.item")`?

Well it would work for this exact use-case. Why you don't like the idea of just passing `Element` as the parameter? User could preconfigure it however they like.

So would something like this work? ```kotlin val el = li().classes("item") render(container = { el }, value = v) { ... } ```

Maybe it should use fresh'n'hot rsocket? http://rsocket.io/

> When using workspacer as replacement for the windows shell @denjukebox You mean, like... no windows shell at all? How to do that?