fabulous-dev / Fabulous.XamarinForms

Declarative UIs for Xamarin.Forms with F# and MVU, using Fabulous
https://docs.fabulous.dev/xamarinforms
Apache License 2.0
13 stars 1 forks source link

Remove generic types from WidgetItems and GroupedWidgetItems #3

Closed TimLariviere closed 1 year ago

TimLariviere commented 1 year ago

Generic fields in F# are actually compiled as static methods, which means those attribute definitions are recreated on each access and Fabulous can't diff properly. We don't really need those generic types in the first place, so just remove them.

See https://github.com/fabulous-dev/Fabulous.Avalonia/pull/66 for more information.