hooks_riverpod 0.2.1 copy "hooks_riverpod: ^0.2.1" to clipboard
hooks_riverpod: ^0.2.1 copied to clipboard

outdated

A simple way to access state from anywhere in your application while robust and being testable.

0.2.1 #

  • useProvider no longer throws an UnsupportedError when the provider listened changes, and correctly listen to the new provider.

  • Computed and Consumer now correctly unsubscribe to a provider when their function stops using a provider.

0.2.0 #

  • ref.read is renamed as ref.dependOn
  • Deprecated ref.dependOn(streamProvider).stream and ref.dependOn(futureProvider).future in favor of a universal ref.dependOn(provider).value.
  • added ref.read(provider), syntax sugar for ref.dependOn(provider).value.

0.1.0 #

Initial release

798
likes
0
pub points
99%
popularity

Publisher

verified publisherdash-overflow.net

A simple way to access state from anywhere in your application while robust and being testable.

Homepage

License

unknown (LICENSE)

Dependencies

collection, flutter, flutter_hooks, flutter_riverpod, riverpod, state_notifier

More

Packages that depend on hooks_riverpod