You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is very hard to understand how examples work.
You use widget attribute in your examples, and it is very annoying. Need to understand all code generation. What is hbox in your example? How to see where it is created? What is Counter? What fields included in counter? And what type of these fields? What is this: #[name="remove_button"] ?
Boilerplate code is maybe not needed in real projects, but without it it is really hard to understand your code.
The text was updated successfully, but these errors were encountered:
ivmazurenko
changed the title
Un-understandable examples
Please, add widget-list example without attribute
Oct 28, 2018
I prefixed the example name with `-attributes`. This prefix is used in
other examples, too. The prefix showes the usage of `#[widget]` and macros
like `view!`.
I plan to create an example without the usage of attributes to solve
antoyo#140.
zzeroo
added a commit
to zzeroo/relm
that referenced
this issue
Jan 24, 2019
relm/examples/widget-list.rs
Line 113 in 7e1baa6
It is very hard to understand how examples work.
You use
widget
attribute in your examples, and it is very annoying. Need to understand all code generation. What is hbox in your example? How to see where it is created? What is Counter? What fields included in counter? And what type of these fields? What is this: #[name="remove_button"] ?Boilerplate code is maybe not needed in real projects, but without it it is really hard to understand your code.
The text was updated successfully, but these errors were encountered: