Skip to content

v2.4.1-release

Latest
Compare
Choose a tag to compare
@JhonaCodes JhonaCodes released this 19 Dec 15:25
· 1 commit to main since this release
d25a7fc
  • Update name of state and documentation for StateNotifierImpl.

  • Introducing transformState function for model editing, allowing state modifications at any nesting level. This function supports implementations like copyWith, enabling selective value updates in your models.

  • Simplified state management: unified notifier and VM into a single approach using ReactiveBuilder, ReactiveAsync, and ReactiveStream. Access functions directly through notifier reference (e.g., instance.notifier.replaceData(...)). Access ReactiveAsync data via notifier.data.

  • Removed ValueNotifier value dependency, eliminating nested state update issues (previously instance.value.value, now instance.data).

  • Protected internal builder functions for improved encapsulation.

  • Maintained compatibility with ListenableBuilder for ReactiveNotifier.

  • Removed context dependency from builder as ReactiveNotifier doesn't require it.