jaguar-dart / observable_ish Goto Github PK
View Code? Open in Web Editor NEWObservable state and events for browser and Flutter.
License: BSD 3-Clause "New" or "Revised" License
Observable state and events for browser and Flutter.
License: BSD 3-Clause "New" or "Revised" License
How does one listen for changes for an RxMap
?
Listening for changes:
onChange
exposes aStream
of record of change of theMap
.
But the RxMap Class docs don't show an onChange
, and my editor shows:
"code": "undefined_getter",
"message": "The getter 'onChange' isn't defined for the type 'RxMap<dynamic, dynamic>'.\nTry importing the library that defines 'onChange', correcting the name to the name of an existing getter, or defining a getter or field named 'onChange'."
I just updated to version 3, but I couldn't figure this out on version 2 either.
Thanks for any insights.
I don't understand why in this version it doesn't update
stacked: ^2.0.2
stacked_services: ^0.8.1
injectable: ^1.2.2
observable_ish: ^3.0.0
`
RxValue<String?> _fullname = RxValue<String?>(null);
.....
_fullname.value = 'test'; <--- work after
User user = await _firestoreService.getUser(uid);
_fullname.value = user.name; <--- not work
`
I don't update the value after await
someone has the same problem as me in the null-safety version?
Was just wondering if there is a log of the breaking changes? pub.dev just shows, "Breaking changes: Be aware, there are some breaking changes!" but no link. I've got 82 new errors I need to fix. ๐ Thank you for any insights!
In the latest version, I always have to provide an initial value. Can we make the initial value as optional ?
Currently we have only Rx types.
But your package does not provide anything to rebuild state.
So the only way is to convert Rx variables to streams and to build it with StreamBuilder (looks awkward).
GetX (based on your package) has Obx widget which works like
Obx ( () => Text ( counter.value ) ),
Please add the widget named Observer with the same functionality out of the box, so we wouldn't need StreamController or third-party solutions.
RxMaps simply does not work when used. If there is a special way to use it then it does not appear to be in the docs.
Hello!, I wanted to know if there is any plans for null-safety as the package I'm trying to migrate depends on this.
If there's any help required I'm willing to make a PR for the same!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.