diff options
author | 2019-10-26 20:35:07 +0200 | |
---|---|---|
committer | 2019-10-26 20:35:07 +0200 | |
commit | c1f6e66175a1b691841831b6ae03a11daf7fc945 (patch) | |
tree | 77d836e41b4625145b4b11bc02e95ffdbe6e8087 /ROADMAP.md | |
parent | 00ea9ca5c7840a2793103d7426a829c46088d77a (diff) | |
download | iced-c1f6e66175a1b691841831b6ae03a11daf7fc945.tar.gz iced-c1f6e66175a1b691841831b6ae03a11daf7fc945.tar.bz2 iced-c1f6e66175a1b691841831b6ae03a11daf7fc945.zip |
Clarify a couple of ideas in the `ROADMAP`
Diffstat (limited to 'ROADMAP.md')
-rw-r--r-- | ROADMAP.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -257,12 +257,14 @@ We could take a different approach, and keep some kind of state tree decoupled f Once the state lifetime of widgets is removed, we could keep them alive between iterations and even make `Application::view` take a non-mutable reference. This would also improve the end-user API, as it will not be necessary to constantly provide mutable state to widgets. +This is a big undertaking and introduces a new set of problems. We should research and consider the implications of this approach in detail before going for it. + ### Improve style definitions As of now, each widget defines its own styling options with methods, following the builder pattern. -A unified way of defining and reusing styles would be great. I am not proposing something like CSS, we should try to stay as type-safe and intuitive as possible. +A unified way of defining and reusing styles would be great. I think we must avoid replicating CSS, we should try to stay as type-safe, explicit, and intuitive as possible. -I think [`elm-ui`] could serve as an inspiration. +I think many different ideas in [`elm-ui`] could serve as an inspiration. [`elm-ui`]: https://www.youtube.com/watch?v=Ie-gqwSHQr0 |