fabulous-dev / Fabulous

Declarative UI framework for cross-platform mobile & desktop apps, using MVU and F# functional programming
https://fabulous.dev
Apache License 2.0
1.13k stars 122 forks source link

Application lifecycle: update builder extensions to use msg directly #973

Closed stroborobo closed 1 year ago

stroborobo commented 1 year ago

With the change to use EventNoArgs, the event handler expects the scalar attribute to contain the msg, but they were still initialized with a function unit -> msg, so the dispatch unboxing crashed.

stroborobo commented 1 year ago

No worries, I could've seen that there's an attribute definition function for this, next time I'll make sure to look beyond the xamarinforms namespace 😅

Thank you :)