Replies: 1 comment 4 replies
-
I can't speak for the Charm team, but I personally think it boils down to a few problems:
Generally speaking, A lot of what I mentioned above is related not purely to the root model, and more using the same architecture throughout the application, with child models. While children technically don't have to follow the Some of the above isn't described well (or at all) at the moment in the bubbletea README, so there are probably some improvements that could be made. I.e. a further breakdown of the ELM architecture, its associated benefits for libraries like bubbletea, and general guidance which helps explain reasoning. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Given that we can start Goroutines in the Update method, and call Send(msg), doesn’t that remove the need for commands? Removing the indirection seems easier to understand.
It also seems to remove the need for Init, reducing the API.
Beta Was this translation helpful? Give feedback.
All reactions