Fork me on GitHub
#hoplon
<
2017-07-11
>
onetom00:07:35

what is MWC?

flyboarder05:07:53

@onetom material web components

thedavidmeister06:07:31

@flyboarder so i think the missing bit in my understanding is why using do-watch causes a memory leak

flyboarder16:07:13

@thedavidmeister im second guessing that, my previous understanding was that the -tpl macro was creating a new element when the cell updated, but if it works for the other attribute then perhaps it’s not creating a new element and my confusion is caused by :value attribute

flyboarder16:07:01

if it indeed is not creating a new element, then shouldn’t something like (cell= (and data value)) work? anytime the underlying data cell is updated, value should also update even if it hasn’t changed? However when I tested this I get the same result, so I believe the -tpl macro is creating a new element. Could you roll the changes into your own value attribute? i think that would make it easier to test

dm316:07:49

the -tpl macro has a pool of elements

dm316:07:35

it only ever creates new ones when the number of elements increases

flyboarder16:07:12

@dm3 yeah so then it’s probably just the :value attribute causing my confusion