Declarative and component based UI library for C#
public class App : Component {
private readonly State<int> _count = 0;
public override IView Render() =>
new VStack {
new HStack {
new Button(" - ", () => _count.Value--),
new Button(" + ", () => _count.Value++)
},
new Text($"Count: {_count.Value}")
};
}
Deco uses the MVU pattern known from Elm and React, and is built on the idea that "UI is a function of state".
Rendering architecture is heavily inspired by Comet.