mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
comment how updates should work
This commit is contained in:
parent
2cd9c2344e
commit
61804073e2
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user