u/raphlinusxi · synthesize · druidin r/rust • Recommends
On “Druid status update and 0.5 roadmap”
A good source for the motivation is my talk on Declarative UI Patterns in Rust. The short answer, as /u/cmyr has said, is that immutable data types (and thus lenses) are a good solution to efficiently computing deltas of the app state, so that you can efficiently reflect those deltas in the view.
"Lenses are confusing" is one of the most consistent bits of feedback we get. One of the main hypotheses we're testing in druid is whether our reactive architecture works in the real world. My gut feeling is yes, and that people can learn lenses and other needed patterns. To make that smooth, we're going to need lots of good examples and clear documentation, both currently lacking. That's because…