-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A new minimal example that work with PR #272 #277
Conversation
//! | ||
//! impl Component for Model { | ||
//! type Message = Msg; | ||
//! type Properties = (); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be better adding another example that is showing how to use Properties
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Such an example requires at least two component, doesn't it? It's a big one, I don't think it is suitable in lib.rs
. We have plenty of such examples in /examples/*
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@huangjj27 Thank you for the idea. I think it's better to remain ()
for Properties
to show you could avoid this parameter for application components.
Thank you for the PR! I'll merge it immediately after #277. I'm on a business trip now, but I'll return to end of the week and will deal with it. |
@deniskolodin I think you mean #272, which is merged. |
@huangjj27, I think we should give @deniskolodin a little break, I think he worked really hard last few weeks! |
Oh, sorry! It was busy weeks and I forgot about it. Thank you for care! |
bors try |
tryBuild succeeded |
bors r+ |
Build succeeded |
It is the example in
src/lib.rs
.