{"action":"opened","issue":{"url":"https://api.github.com/repos/kadirahq/mantra/issues/168","repository_url":"https://api.github.com/repos/kadirahq/mantra","labels_url":"https://api.github.com/repos/kadirahq/mantra/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/kadirahq/mantra/issues/168/comments","events_url":"https://api.github.com/repos/kadirahq/mantra/issues/168/events","html_url":"https://github.com/kadirahq/mantra/issues/168","id":144405258,"number":168,"title":"Clarification on importing vs. injecting","user":{"login":"ndarilek","id":1172,"avatar_url":"https://avatars.githubusercontent.com/u/1172?v=3","gravatar_id":"","url":"https://api.github.com/users/ndarilek","html_url":"https://github.com/ndarilek","followers_url":"https://api.github.com/users/ndarilek/followers","following_url":"https://api.github.com/users/ndarilek/following{/other_user}","gists_url":"https://api.github.com/users/ndarilek/gists{/gist_id}","starred_url":"https://api.github.com/users/ndarilek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndarilek/subscriptions","organizations_url":"https://api.github.com/users/ndarilek/orgs","repos_url":"https://api.github.com/users/ndarilek/repos","events_url":"https://api.github.com/users/ndarilek/events{/privacy}","received_events_url":"https://api.github.com/users/ndarilek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-29T22:15:33Z","updated_at":"2016-03-29T22:15:33Z","closed_at":null,"body":"It would be nice if the spec could clarify when a thing should be injected vs. imported.\r\n\r\nFor instance, the context in the blog sample injects the Collections object it imports, but I've been importing it throughout my own app. Similarly, Meteor is injected into the context. I don't understand why it isn't imported instead. If it substantially saved on code then I'd get it, but both are a single line.\r\n\r\nI recently refactored an app to Mantra, and every time I modularized a piece of code I wondered whether to import it each time I used it, or inject it into my context. It makes sense for a global like state, subs-manager or the like where you're creating an instance, but why Collections/Meteor?"}}