{"action":"created","issue":{"url":"https://api.github.com/repos/ractivejs/ractive/issues/1980","repository_url":"https://api.github.com/repos/ractivejs/ractive","labels_url":"https://api.github.com/repos/ractivejs/ractive/issues/1980/labels{/name}","comments_url":"https://api.github.com/repos/ractivejs/ractive/issues/1980/comments","events_url":"https://api.github.com/repos/ractivejs/ractive/issues/1980/events","html_url":"https://github.com/ractivejs/ractive/issues/1980","id":82883333,"number":1980,"title":"warn on unresolved references","user":{"login":"Rich-Harris","id":1162160,"avatar_url":"https://avatars.githubusercontent.com/u/1162160?v=3","gravatar_id":"","url":"https://api.github.com/users/Rich-Harris","html_url":"https://github.com/Rich-Harris","followers_url":"https://api.github.com/users/Rich-Harris/followers","following_url":"https://api.github.com/users/Rich-Harris/following{/other_user}","gists_url":"https://api.github.com/users/Rich-Harris/gists{/gist_id}","starred_url":"https://api.github.com/users/Rich-Harris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rich-Harris/subscriptions","organizations_url":"https://api.github.com/users/Rich-Harris/orgs","repos_url":"https://api.github.com/users/Rich-Harris/repos","events_url":"https://api.github.com/users/Rich-Harris/events{/privacy}","received_events_url":"https://api.github.com/users/Rich-Harris/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ractivejs/ractive/labels/better%20error","name":"better error","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ractivejs/ractive/milestones/3","html_url":"https://github.com/ractivejs/ractive/milestones/future","labels_url":"https://api.github.com/repos/ractivejs/ractive/milestones/3/labels","id":602205,"number":3,"title":"future","description":"","creator":{"login":"Rich-Harris","id":1162160,"avatar_url":"https://avatars.githubusercontent.com/u/1162160?v=3","gravatar_id":"","url":"https://api.github.com/users/Rich-Harris","html_url":"https://github.com/Rich-Harris","followers_url":"https://api.github.com/users/Rich-Harris/followers","following_url":"https://api.github.com/users/Rich-Harris/following{/other_user}","gists_url":"https://api.github.com/users/Rich-Harris/gists{/gist_id}","starred_url":"https://api.github.com/users/Rich-Harris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rich-Harris/subscriptions","organizations_url":"https://api.github.com/users/Rich-Harris/orgs","repos_url":"https://api.github.com/users/Rich-Harris/repos","events_url":"https://api.github.com/users/Rich-Harris/events{/privacy}","received_events_url":"https://api.github.com/users/Rich-Harris/received_events","type":"User","site_admin":false},"open_issues":65,"closed_issues":67,"state":"open","created_at":"2014-03-19T00:31:15Z","updated_at":"2016-02-20T00:06:30Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-05-30T18:45:52Z","updated_at":"2016-02-28T05:51:32Z","closed_at":null,"body":"Doing some performance optimisation for a large project with several contributors, I found it to be very useful to add some logging in [here](https://github.com/ractivejs/ractive/blob/dev/src/global/runloop.js#L126-L155) that warns me about unresolved references, since these need to be checked on each data change. If you have many of them it can therefore slow things down a fair bit. The problem might go away with #1740 (@martypdx?) but if not then it would be good to add some proper logging around this, with guidance for developers that helps them understand what's going on and how to optimise their apps"},"comment":{"url":"https://api.github.com/repos/ractivejs/ractive/issues/comments/189787701","html_url":"https://github.com/ractivejs/ractive/issues/1980#issuecomment-189787701","issue_url":"https://api.github.com/repos/ractivejs/ractive/issues/1980","id":189787701,"user":{"login":"ADantes","id":5692964,"avatar_url":"https://avatars.githubusercontent.com/u/5692964?v=3","gravatar_id":"","url":"https://api.github.com/users/ADantes","html_url":"https://github.com/ADantes","followers_url":"https://api.github.com/users/ADantes/followers","following_url":"https://api.github.com/users/ADantes/following{/other_user}","gists_url":"https://api.github.com/users/ADantes/gists{/gist_id}","starred_url":"https://api.github.com/users/ADantes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADantes/subscriptions","organizations_url":"https://api.github.com/users/ADantes/orgs","repos_url":"https://api.github.com/users/ADantes/repos","events_url":"https://api.github.com/users/ADantes/events{/privacy}","received_events_url":"https://api.github.com/users/ADantes/received_events","type":"User","site_admin":false},"created_at":"2016-02-28T05:51:32Z","updated_at":"2016-02-28T05:51:32Z","body":"There is value in warning about ambiguous references, independent of the performance impact.  I've had more than a handful of cases where things didn't work quite as expected, unless my data was properly initialized, so it would be a very useful tool for debugging.  It should also make code substantially easier to hand off when working on a large team."}}