forked from mystiq/hydrogen-web
comment how updates should work
This commit is contained in:
parent
2cd9c2344e
commit
61804073e2
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
import BaseObservableMap from "./BaseObservableMap.js";
|
import BaseObservableMap from "./BaseObservableMap.js";
|
||||||
|
/*
|
||||||
|
so a mapped value can emit updates on it's own with this._updater that is passed in the mapping function
|
||||||
|
how should the mapped value be notified of an update though? and can it then decide to not propagate the update?
|
||||||
|
*/
|
||||||
export default class MappedMap extends BaseObservableMap {
|
export default class MappedMap extends BaseObservableMap {
|
||||||
constructor(source, mapper) {
|
constructor(source, mapper) {
|
||||||
super();
|
super();
|
||||||
|
|
Loading…
Reference in a new issue