{"action":"opened","issue":{"url":"https://api.github.com/repos/dferber90/meteor-react-create-blaze-template/issues/1","labels_url":"https://api.github.com/repos/dferber90/meteor-react-create-blaze-template/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dferber90/meteor-react-create-blaze-template/issues/1/comments","events_url":"https://api.github.com/repos/dferber90/meteor-react-create-blaze-template/issues/1/events","html_url":"https://github.com/dferber90/meteor-react-create-blaze-template/issues/1","id":86325027,"number":1,"title":"The React props don't update based on the parent Blaze template data context","user":{"login":"clayne11","id":2831444,"avatar_url":"https://avatars.githubusercontent.com/u/2831444?v=3","gravatar_id":"","url":"https://api.github.com/users/clayne11","html_url":"https://github.com/clayne11","followers_url":"https://api.github.com/users/clayne11/followers","following_url":"https://api.github.com/users/clayne11/following{/other_user}","gists_url":"https://api.github.com/users/clayne11/gists{/gist_id}","starred_url":"https://api.github.com/users/clayne11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clayne11/subscriptions","organizations_url":"https://api.github.com/users/clayne11/orgs","repos_url":"https://api.github.com/users/clayne11/repos","events_url":"https://api.github.com/users/clayne11/events{/privacy}","received_events_url":"https://api.github.com/users/clayne11/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-08T20:45:42Z","updated_at":"2015-06-08T20:45:42Z","closed_at":null,"body":"You need to add an autorun to re-render the template.\r\n\r\n```javascript\r\n  template.onRendered(function() {\r\n    var self = this;\r\n\r\n    this.container = renderInPlaceOfNode(\r\n      // Equivalent to <Component {...this.data} />:\r\n      React.createElement(Component, this.data || {}),\r\n      this.find(\"span\")\r\n    );\r\n\r\n    self.autorun(function() {\r\n      React.render(\r\n        React.createElement(Component, Template.currentData() || {}), \r\n        self.container);\r\n    });\r\n  });\r\n```"}}