Open passsy opened 1 month ago
I believe it wasn't published intentionally since during the creation of that package I noticed that all beacons are ValueListenable
themselves, so context_watch
supported them just like any other ValueListenable
without any additional packages.
Now, though, beacons are no longer ValueListenable
, so it could make sense to update and publish the package now, if only beacons didn't have their own, slightly faster, version of .watch(context)
. 😅 So the only remaining potential gain of the package is .watchOnly()
extension on beacons, but I'm not sure whether it is worth publishing it just for that.
What makes more sense to me now, is building a set of context_plus_*
packages for various popular state management libs, which would add the Ref<ThirdPartyObservableType>.watch()
and Ref<ThirdPartyObservableType>.watchOnly()
methods.
Nonetheless, I'm totally fine with publishing the context_watch_beacon
if you or anyone else finds it useful.
I can't find
context_watch_beacon
on pub https://pub.dev/packages/context_watch_beacon. Is this intentional or an accident?