Skip to content

Releases: JordanMarr/ReactiveElmish.Avalonia

ReactiveElmish.Avalonia v1.1.1

28 Jan 20:51
Compare
Choose a tag to compare

This release adds new methods to the ReactiveElmishViewModel that provide the ability to bind regular list and Map<> properties from your model to your view model without having to directly use DynamicData SourceList and SourceCache collections in your model.
These methods will diff changes in your model and then update the view on your behalf.

BindList

Binds a collection type on the model to a DynamicData.SourceList behind the scenes. Changes to the collection in the model are diffed and updated for you in the SourceList. Also has an optional map overload that allows you to transform items when they are added to the SourceList.

BindKeyedList

Binds a Map<'Key, 'Value> "keyed list" to an ObservableCollection behind the scenes. Changes to the Map in the model are diffed based on the provided getKey function that returns the 'Key for each item. Use this when you want to store a list of items that can be identified by one or more identifying keys. Also has a map overload that allows you to transform items when they are added to the ObservableCollection.

BindSourceCache

Added a new optional parameter, update, which allows you to pass a function to manually update the mapped item when the item changes in the model.

See also: Tips for Binding Collections

ReactiveElmish.Avalonia v1.0.0

09 Dec 18:18
b235c3e
Compare
Choose a tag to compare

Previously "Elmish.Avalonia", but now reimagined and rewritten from the ground up.

  • Adds Elmish Stores IStore<'Model, 'Msg>
  • Adds ReactiveElmishViewModel with custom bindings

Elmish.Avalonia v1.1.0

26 Oct 05:17
Compare
Choose a tag to compare
  • Updates to Avalonia v11.0.5
  • Drops support for .NETCoreApp 3.1

Elmish.Avalonia v1.0.1

05 Aug 04:46
1083964
Compare
Choose a tag to compare
  • Upgrades from Avalonia pre-release to v11.0.2
  • Adds the ElmishViewModel module for working with the ViewLocator pattern.

Fixed for multi-platform

19 Feb 02:03
Compare
Choose a tag to compare

This release removes the last few Windows-only vestiges (left over from Elmish.WPF) that were preventing it from working on non-Windows platforms.

Thanks to @sleepyfran for this!