hooks_riverpod 0.2.1
hooks_riverpod: ^0.2.1 copied to clipboard
A simple way to access state from anywhere in your application while robust and being testable.
0.2.1 #
-
useProviderno longer throws anUnsupportedErrorwhen the provider listened changes, and correctly listen to the new provider. -
ComputedandConsumernow correctly unsubscribe to a provider when their function stops using a provider.
0.2.0 #
ref.readis renamed asref.dependOn- Deprecated
ref.dependOn(streamProvider).streamandref.dependOn(futureProvider).futurein favor of a universalref.dependOn(provider).value. - added
ref.read(provider), syntax sugar forref.dependOn(provider).value.
0.1.0 #
Initial release