enricozb / intuitive

A library for building declarative text-based user interfaces
213 stars 3 forks source link

The use of `const generics` (i.e. `Children`) makes it difficult to build dynamic applications #8

Open d4h0 opened 1 year ago

d4h0 commented 1 year ago

Hi,

I have not really used const generics so far (so I might miss something), but it seems, the implementation of Children makes it very difficult to implement dynamic applications.

For example, let's assume, we'd like to build an app that fetches JSON data from a server (in a background thread), displays a table with that data, and offers options to filter it.

This might be possible with enough workarounds, but I'm pretty sure this would be difficult to implement.

Have you thought about use-cases like this?

I really like the design of intuitive, but static children is pretty much a road-block for what I currently try to archive, unfortunately.