canjs / can-component

Custom elements and widgets
https://canjs.com/doc/can-component.html
MIT License
8 stars 8 forks source link

minor test cleanup, makes `new Component()` not observable #304

Closed justinbmeyer closed 6 years ago

justinbmeyer commented 6 years ago

when one does new Component() it's currently observable because bind.parentValue reads the parent observable.

Thus if that value changes, any getter new Component() is in will re-run.