From 61804073e248c0706a812518eef8ecb2e19ba56a Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 15 Mar 2019 20:29:17 +0100 Subject: [PATCH] comment how updates should work --- src/observable/map/MappedMap.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/observable/map/MappedMap.js b/src/observable/map/MappedMap.js index 6d10325f..4b16373b 100644 --- a/src/observable/map/MappedMap.js +++ b/src/observable/map/MappedMap.js @@ -1,5 +1,8 @@ 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 { constructor(source, mapper) { super();