{"action":"created","issue":{"url":"https://api.github.com/repos/vladbalan/meteor-aframe/issues/1","repository_url":"https://api.github.com/repos/vladbalan/meteor-aframe","labels_url":"https://api.github.com/repos/vladbalan/meteor-aframe/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/vladbalan/meteor-aframe/issues/1/comments","events_url":"https://api.github.com/repos/vladbalan/meteor-aframe/issues/1/events","html_url":"https://github.com/vladbalan/meteor-aframe/issues/1","id":141300562,"number":1,"title":"Reactivity is broken for data passed to block helpers","user":{"login":"vladbalan","id":6682744,"avatar_url":"https://avatars.githubusercontent.com/u/6682744?v=3","gravatar_id":"","url":"https://api.github.com/users/vladbalan","html_url":"https://github.com/vladbalan","followers_url":"https://api.github.com/users/vladbalan/followers","following_url":"https://api.github.com/users/vladbalan/following{/other_user}","gists_url":"https://api.github.com/users/vladbalan/gists{/gist_id}","starred_url":"https://api.github.com/users/vladbalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladbalan/subscriptions","organizations_url":"https://api.github.com/users/vladbalan/orgs","repos_url":"https://api.github.com/users/vladbalan/repos","events_url":"https://api.github.com/users/vladbalan/events{/privacy}","received_events_url":"https://api.github.com/users/vladbalan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-16T14:59:27Z","updated_at":"2016-03-17T08:38:33Z","closed_at":"2016-03-17T08:38:33Z","body":"Given this scenario:\r\n```js\r\nSession.set('color', 'gray');\r\nTemplate.myTemplate.helpers({\r\n  color: function () {\r\n    return Session.get('color');\r\n  }\r\n});\r\n```\r\nand\r\n```handlebars\r\n<template name=\"myTemplate\">\r\n  {{#aScene}}\r\n    {{#aSky color}}{{/aSky}}\r\n  {{/aScene}}\r\n</template>\r\n```\r\nIf we change the value of the reactive data source `Session.set('color', 'blue')` The sky entity doesn't change color.\r\n\r\nThe problem probably comes from setting the entity attributes in an `onRendered` function. Using helpers instead should fix this."},"comment":{"url":"https://api.github.com/repos/vladbalan/meteor-aframe/issues/comments/197763807","html_url":"https://github.com/vladbalan/meteor-aframe/issues/1#issuecomment-197763807","issue_url":"https://api.github.com/repos/vladbalan/meteor-aframe/issues/1","id":197763807,"user":{"login":"vladbalan","id":6682744,"avatar_url":"https://avatars.githubusercontent.com/u/6682744?v=3","gravatar_id":"","url":"https://api.github.com/users/vladbalan","html_url":"https://github.com/vladbalan","followers_url":"https://api.github.com/users/vladbalan/followers","following_url":"https://api.github.com/users/vladbalan/following{/other_user}","gists_url":"https://api.github.com/users/vladbalan/gists{/gist_id}","starred_url":"https://api.github.com/users/vladbalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladbalan/subscriptions","organizations_url":"https://api.github.com/users/vladbalan/orgs","repos_url":"https://api.github.com/users/vladbalan/repos","events_url":"https://api.github.com/users/vladbalan/events{/privacy}","received_events_url":"https://api.github.com/users/vladbalan/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T08:38:33Z","updated_at":"2016-03-17T08:38:33Z","body":"Fixed by https://github.com/vladbalan/meteor-aframe/commit/b88a12304de275894171450ac01ab858902cd6ff"}}