For the same reason as #283, TBODY should be a FlowContent. The strict typing makes it hard to flexibly generate fragments. HTMX style pages are where this framework really shines - but the typing makes it difficult.
Consider:
I have a data table component. My tbody is:
tbody {
id = tableTarget.id
renderRows(this@Datatable.records, this@Datatable.rowStyle, this@Datatable.configs)
}
When I call my data table component, I want it to either generate additional rows (using all of the same configs) or generate the full table.
For the same reason as #283, TBODY should be a FlowContent. The strict typing makes it hard to flexibly generate fragments. HTMX style pages are where this framework really shines - but the typing makes it difficult.
Consider:
I have a data table component. My tbody is:
When I call my data table component, I want it to either generate additional rows (using all of the same configs) or generate the full table.
What receiver works for renderRows in both cases? Nada. It's inconvenient.