{"action":"created","issue":{"url":"https://api.github.com/repos/thefrontside/ember-let/issues/7","repository_url":"https://api.github.com/repos/thefrontside/ember-let","labels_url":"https://api.github.com/repos/thefrontside/ember-let/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/thefrontside/ember-let/issues/7/comments","events_url":"https://api.github.com/repos/thefrontside/ember-let/issues/7/events","html_url":"https://github.com/thefrontside/ember-let/issues/7","id":173013218,"number":7,"title":"Proposal: inline let","user":{"login":"taras","id":74687,"avatar_url":"https://avatars.githubusercontent.com/u/74687?v=3","gravatar_id":"","url":"https://api.github.com/users/taras","html_url":"https://github.com/taras","followers_url":"https://api.github.com/users/taras/followers","following_url":"https://api.github.com/users/taras/following{/other_user}","gists_url":"https://api.github.com/users/taras/gists{/gist_id}","starred_url":"https://api.github.com/users/taras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taras/subscriptions","organizations_url":"https://api.github.com/users/taras/orgs","repos_url":"https://api.github.com/users/taras/repos","events_url":"https://api.github.com/users/taras/events{/privacy}","received_events_url":"https://api.github.com/users/taras/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-24T17:34:34Z","updated_at":"2016-08-25T13:58:07Z","closed_at":null,"body":"I had an idea recently of how we could create an inline version of `let` helper that'd automatically update a variable when calculation changes.\r\n\r\nFor example,\r\n\r\n```hbs\r\n{{let hello \"world\"}}\r\n{{hello}}\r\n```\r\n\r\nWould output \"world\".\r\n\r\nThis value would also be reactive, so it'll automatically update the variable binding when calculation changes.\r\n\r\n```hbs\r\n{{let greeting (concat \"hello \" to)}}\r\n\r\n{{greeting}}\r\n\r\n<button {{action (mut to) \"world\"}}>To world</button>\r\n```\r\n\r\nWould output \"hello \" first, on click of button would set `to` to \"world\" and render \"hello world\".\r\n\r\nI can be useful to define variables that apply to the entire template without introducing nesting and to define reactive variables that change based on computation."},"comment":{"url":"https://api.github.com/repos/thefrontside/ember-let/issues/comments/242396089","html_url":"https://github.com/thefrontside/ember-let/issues/7#issuecomment-242396089","issue_url":"https://api.github.com/repos/thefrontside/ember-let/issues/7","id":242396089,"user":{"login":"taras","id":74687,"avatar_url":"https://avatars.githubusercontent.com/u/74687?v=3","gravatar_id":"","url":"https://api.github.com/users/taras","html_url":"https://github.com/taras","followers_url":"https://api.github.com/users/taras/followers","following_url":"https://api.github.com/users/taras/following{/other_user}","gists_url":"https://api.github.com/users/taras/gists{/gist_id}","starred_url":"https://api.github.com/users/taras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taras/subscriptions","organizations_url":"https://api.github.com/users/taras/orgs","repos_url":"https://api.github.com/users/taras/repos","events_url":"https://api.github.com/users/taras/events{/privacy}","received_events_url":"https://api.github.com/users/taras/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T13:58:06Z","updated_at":"2016-08-25T13:58:06Z","body":"It will only effect that path that's passed to it. It does not do anything to resolve the path.\r\n\r\nThis will be a good thing to verify with tests. I'll add these to confirm my assumptions."}}
{"actor":{"display_login":"taras"}}