What's Changed
- API Improvements
Stopped covariance of IStore<object, object> and made IStore an interface.
Changed the TMessage constraint from class to notnull in Store<TState, TMessage>.
Changed the class that notifies state changes from AbstractStore to derive from the more general StateObservable.
https://github.com/le-nn/memento/blob/main/src/Memento.Core/StateObservable.cs
-
Add StateChangedObserver Componet to observe state changes when you cannot to inherits ObserverComopnent
https://github.com/le-nn/memento/blob/main/src/Memento.Blazor/StateChangedObserver.cs -
Ended support for .NET6 and .NET7
Full Changelog: v1.6.0...v1.7.0