When using ember data are there any implications to fetching model data outside of a route? Or more specifically outside of a model hook?
For example say I have a complicated component and I pass in the
store, perform direct queries on the
store, and then handle the promises inside a function inside my component.
I am having a hard time using
needs api and am finding it easier to just pass along the
store and do lookups on the store directly.
I recognize this breaks some of the convenience of the router and model hooks. But I also am having a hard time finding good information and examples of managing dependencies between controllers using needs. What seems like it should be really obvious really isn’t, at least for me.