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
A button, once created, will update its content in response to a new view, but will not update its onClick. This leads to buttons that say they'll do one thing actually doing another.
In earlier versions of funcUI elmish was the only programming model. With elmish you end up having one gigantic view tree that you need to diff + patch on every update. In this scenario not patching the click property of 100s of buttons on every updates was a valid argument.
A button, once created, will update its content in response to a new view, but will not update its onClick. This leads to buttons that say they'll do one thing actually doing another.
Repro:
1.) Clone https://github.com/MaxWilson/AvaloniaRepro
2.) Dotnet run
3.) In the app, click on "Add Ryan" and then "Say something Ryan"
Expected: it should say "Ryan: Blahblahblah".
Actual: "Bob: Blahblahblah".
The text was updated successfully, but these errors were encountered: