Skip to content
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

Two syntaxes for event connect #194

Open
Tracked by #102
antoyo opened this issue Feb 8, 2020 · 0 comments
Open
Tracked by #102

Two syntaxes for event connect #194

antoyo opened this issue Feb 8, 2020 · 0 comments

Comments

@antoyo
Copy link
Owner

antoyo commented Feb 8, 2020

We can do:

connect!(plus_button, connect_clicked(button), relm, Msg::Increment(button.clone()));

and

connect!(relm, plus_button, connect_clicked(button), Msg::Increment(button.clone()));

Can we remove one of these?

@antoyo antoyo added this to the 1.0 milestone Feb 13, 2021
@antoyo antoyo mentioned this issue Feb 13, 2021
39 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant