I’ve noticed that for can-define using “value” to define a default value for a property is run only once when the module is loaded. For example if I add a tag to the dom, then destroy it, then add another of the same tag, the property will have the same value as the tag that was destroyed (i.e. not the default value). Using a function or Value the default will get loaded each time an tag is added to the dom.
Is this the intended behaviour of can-define? (is it a feature or a bug?). The reason I ask is I don’t way to rely on the functionality if it could be reverted in later version.