glimmerjs / glimmer-application

[MOVED] This package is now part of the Glimmer.js monorepo
https://github.com/glimmerjs/glimmer.js
30 stars 13 forks source link

`@tracked('args')` in component nested within a `{{#each}}` seem to invalidate with old values #88

Closed GavinJoyce closed 7 years ago

GavinJoyce commented 7 years ago

I'm seeing old values for this.args in a component nested within an {{#each}}. I've included two identical simple applications below.

The first works fine and is running on glimmer-playground.netlify.com which, at time of writing, has a dependency on @glimmer/application 0.6.0:

screen shot 2017-07-09 at 21 31 19

The second seems to exhibit the bug, it's running on this fork which has updated to @glimmer/application 0.7.0:

screen shot 2017-07-09 at 21 31 06
GavinJoyce commented 7 years ago

this seems related to https://github.com/glimmerjs/glimmer-component/issues/66

GavinJoyce commented 7 years ago

closing as a dupe of https://github.com/glimmerjs/glimmer-component/issues/66 (which is being worked on)