I don’t understand how kara DSL works. In their vi...
# announcements
y
I don’t understand how kara DSL works. In their view doc, they give as exemple :
Copy code
div(id="main") {
                renderView(context, mainView)
            }
(http://karaframework.com/docs/views.html). But I read the source, I don’t understand how it can work (https://github.com/TinyMission/kara/blob/c75e1d116d29bf38566cb828321d950d1eda6635/src/HTMLBuilder/src/kotlin/html/HtmlBody.kt#L118)