Open olanod opened 4 years ago
Personally, I am not fond of using DSLs to solve this particular problem. I think they:
a declarative way for defining pieces of UI is much nicer
Could you maybe elaborate a bit on this? Why do you think it's nicer? What do you think we can improve when we compare our current approach with the vgtk
approach?
I was checking out vgtk to prototype a quick Gtk UI which follows the same elm architecture story and thought declaring widgets with the
gtk!
macro is kinda nice, a declarative way for defining pieces of UI is much nicer. Any thoughts? I don't know what the implications of a macro like that would be on iced, if following a similar approach as vgtk's I suspect that a macro that returns a new tree of widgets would require the virtual dom approach for diffing changes and render accordingly?