Justin Meyer
Justin Meyer
I’d do it in can-type
A search for `canjs ssr` or `donejs ssr` doesn't lead people to anything useful. If someone doesn't really "know about donejs" they might not know that it is the suggested...
@frank-dspeed please create another issue for that. I think something like that can be created on-top of CanJS's symbols APIs, but it can't be the underlying primitive CanJS uses without...
[Patches](https://canjs.com/doc/can-symbol/types/Patch.html) look like: `{type: "add", key, value}` Property events look like: ```js {type: "propertyName", oldValue, newValue} ``` DOM events look like: ``` {type: 'click', target, currentTarget} ```
I think patches, dispatched events on objects, and dispatched events on single value observables should all be unified. Here's the ideal: ```js map.on("keyName", (event) => { event //-> {type: "set",...
Instead of `eventType`, we could use: - `kind` - `action` - `eventName`
## Random notes: ``` canReflect.onPatches() canReflect.onEvent(obj, [event], handler) { } listenTo compute.on(function( {newVal, oldVal} ){ }) Observable ObservationRecorder.add(obj) //-> canReflect.onValue() ObservationRecorder.add(obj,"event") //-> canReflect.onKeyValue() value({resolve, lastSet, listenTo}) { listenTo("firstName", (ev, newVal,oldVal)...
By batched, you mean the properties being set are not batched together? What do you mean "multiple calls"? Afaik, setting multiple properties to a can.Map and can.DefineMap are batched automatically....
We are taking a look at this. Thanks for reporting!
Sorry about the long delay. Yes, please make a patch!