Closed esprehn closed 10 years ago
I've narrowed this down to having
<template if="{{ value }}">
at several levels of the tree. It seems like the if you have the
<template if>
around a
<template repeat>
and you have lots of levels of the tree things stop working after a few updates.
Here's the smallest reduction I can get:
http://pastie.org/pastes/8917801/text
What's crazy is that it depends on having tokenList, and lots of levels of components. It should print 1 twice since the same array is being used at two levels of the data binding tree, but it ends up printing 1 0 since the bindings are not correctly updated in the nested component. Surprisingly if you look at the templateInstance.model data it's correct, but the bindings never changed (updated text, unrolled etc.)
I still can't reproduce this, no matter how much I tweak the timers :(
What version of Chrome and what platform?
Both tip-of-tree Chromium and Chome stable (33) on Linux. Haven't had a chance to try on Mac, which I think is where you'd seen it...
Yeah I'm trying on 10.9.2 on a Retina MBP. I wonder if there's a bug in the v8 coedgen or maybe the 620 is just too fast?
Elliot, please re-open this when you have a repro. Failing that, if you still see it only on your machine, feel free to grab me and we can debug together there.
Chrome 35.0.1888.0 (Official Build 256779) canary Blink r169047 Using Object.observe
I'm just noticing this, but I have a big set of elements that create a view on the page that pass objects down the tree through property bindings in polymer. When I want to refresh the page I assign all new objects at the top of the component hierarchy.
After the second assignment things stop updating properly and I'm stuck with empty binding values. I would expect that the new object graph assigned at the top would propagate across the whole view.