Closed Mattchewone closed 5 years ago
I found a problem with this... when an event like on:click
happens, can-stache-bindings will automatically create a viewModel for that element: https://github.com/canjs/can-stache-bindings/blob/b214428b2a4437f18b898f3255d40baa06e19056/can-stache-bindings.js#L554
This means that these elements show up in the tree:
Maybe this is a bug in can-stache-bindings
, but we should look into it.
Allows StacheDefineElement to work with Component Tree.
Closes https://github.com/canjs/devtools/issues/75