These are chat archives for canjs/canjs

14th
Jun 2017
Per Ehnbom
@perehnbom
Jun 14 2017 08:42
can-event-radiochange doesnt work when using webpack either. It looks like it's built differently than other can modules, with a dist and src folder. Also, the dist folder is missing override.js
Ivo Pinheiro
@ivospinheiro
Jun 14 2017 22:44

Hi,
Is it possible to when editing an instance disable the behavior can-connect/constructor/store?
I mean is possible to edit an instance without changing it in every places it is used.

According the documentation:
https://canjs.com/doc/can-connect/constructor/store/store.html

whenever a new instance is created with the same id value, then they will be the same instance.

In my case I would like to avoid the behavior that happens on the demo of the behavior, when editing a Todo, and to only update other instance references only when the save is called.