-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
properties on device#show page have stale values #19
Comments
@kevinswiber would this count as an enhancement request for a device's show page to monitor the device api for updated non-stream values? |
The browser won't update on property changes unless they come as a result of a state transition. |
so the answer is user error? refresh the browser? |
@landlessness Yes. The alternative is to have the property change as the result of a state transition, but that may or may not make sense depending on your use case. |
@kevinswiber ok. that could work for me. to check my understanding, as long as a function specified in config: config.map('foo', this.foo) updates the property Fona.prototype.foo = function(data) {this.simCCID = data;} then that update will be communicated out to the browser and other clients? is that right? |
I have a device property,
simCCID
, that only gets populated after a device has been running for a while. Even though the property value had changed the browser was not showing the new value. The stale value made me think I had a bug in my code.The text was updated successfully, but these errors were encountered: