reactive_notifier 2.3.0 copy "reactive_notifier: ^2.3.0" to clipboard
reactive_notifier: ^2.3.0 copied to clipboard

A Dart library for managing reactive state efficiently, supporting multiples related state.

2.3.0 #

🚀 Enhancements #

  • Added support for direct access to ReactiveNotifier value and simple state management
  • New constructor ReactiveBuilder.notifier for simpler state cases
  • Improved type safety and handling of ViewModelState implementations

🔨 Usage Changes #

  • For ViewModels/Complex States:
    ReactiveBuilder(
      valueListenable: stateConnection.value,
      builder: (context, state, keep) => YourWidget()
    )
    
    copied to clipboard
  • For Simple States:
    ReactiveBuilder.notifier(
      notifier: simpleNotifier,
      builder: (context, value, keep) => YourWidget()
    )
    
    copied to clipboard

🐛 Bug Fixes #

  • Fixed state propagation in complex ViewModelState scenarios
  • Improved debouncing mechanism for state updates
  • Better memory management for kept widgets

📝 Documentation #

  • Added examples for both ViewModelState and simple state usage
  • Updated documentation to reflect new constructor patterns
  • Improved comments and code documentation

🏗️ Internal Changes #

  • Refactored internal state handling for better performance
  • Optimized rebuilding patterns for kept widgets
  • Enhanced type safety across the implementation

📦 Dependencies #

  • No changes in dependencies

🔄 Migration Guide #

No breaking changes. Existing code will continue to work as expected. The new .notifier constructor is additive and optional for simpler state management cases.

2.2.1 #

  • Update example and doc on readme.

2.2.0 #

  • Update documentations and images.
  • Implement Ci for actions.

2.1.1 #

  • Update Readme.

2.1.0 #

  • Few bits, and name convention
  • New ViewModelStateImpl for simple viewmodel state.

2.0.0 #

Breaking Changes 🚨 #

  • Complete project architecture overhaul
  • New reference handling system
  • Changed how related states are managed

New Features 🎉 #

  • Enhanced Debugging System

    • Improved error messages
    • Better stack traces
    • Detailed circular reference detection
  • Advanced State Management

    • Support for nested ReactiveNotifier instances in related states
    • Improved multiple reference handling
    • Better state isolation and context management
  • Async & Stream Support

    • Built-in async state handling
    • Stream state management
    • Automatic state synchronization
  • Extended Testing Support

    • More test cases
    • Better coverage
    • Improved testing utilities

Improvements 🔧 #

  • Better performance in state updates
  • Reduced memory footprint
  • Improved type safety
  • Enhanced error handling
  • Better documentation

Bug Fixes 🐛 #

  • Fixed issues with circular references
  • Improved state cleanup
  • Better error reporting
  • Fixed memory leaks in complex state trees

Documentation 📚 #

  • Complete documentation overhaul
  • New examples and use cases
  • Better API documentation
  • Improved error messages

1.0.5 #

  • Update documentation.

1.0.4 #

  • Implement when and callback when finish setState.
  • Help to execute any other params when change state

1.0.3 #

  • Upgrade SDK.

1.0.2 #

  • Add gif for visual context.
  • Change name from State to Notify.
  • Update golden test.

1.0.1 #

  • Change name from State to Notify.
  • Improve README.md.

1.0.0 #

  • Initial version.
2
likes
0
points
153
downloads

Publisher

verified publisherjhonacode.com

Weekly Downloads

2024.07.10 - 2025.01.22

A Dart library for managing reactive state efficiently, supporting multiples related state.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on reactive_notifier