Replies: 3 comments 1 reply
-
also, the 0.3 docs for |
Beta Was this translation helpful? Give feedback.
-
It would also be nice to have links to where to find more information about different layouts. Assuming from the fact that we use a |
Beta Was this translation helpful? Give feedback.
-
Duplicate of #531. The overview is a brief introduction to the Elm Architecture. It focuses on the library concepts. It's not meant to be a detailed example. This should be obvious since there is no The code is correct and not outdated! You don't need to always return an Using There already links to the documentation and the examples at the end of the overview! That said, I will try to further clarify that the code needs to be plugged to |
Beta Was this translation helpful? Give feedback.
-
Hello!
I am trying Iced for the first time today, and I got really confused because of the readme. I followed the "Overview" section, but I was getting errors, so I checked with the example for it, and it was different in a few critical places.
Most important, is the fact that, nowhere in the overview, does it mention that
impl Counter
is actuallyimpl Sandbox for Counter
, which is kinda important. There are other things, likefn view(...) -> Column<Message> {
which is actuallyElement<Message>
in the examples, and that there needs to be a call toColumn::new()..... .into()
at the end of the view function.These things threw me off because the only starting point I know is the readme, and it had incorrect information.
Something else that I haven't seen any explanation about, is how does the
Text
widget know to update?Beta Was this translation helpful? Give feedback.
All reactions