@wycats CPs in components too, I expect. E.g. A currency selector component
-
-
-
@seilund you would make an HTTP request in a component? -
@wycats through my model layer, yes. I don't know any other way to supply a reusable component with data. Makes sense? -
@seilund Why not pass it in when you call the component? -
@wycats or am I missing something? -
@seilund that seems reasonable. Basically remotely fetched config. -
@wycats yes. Glad that I'm not doing something "wrong" :)
End of conversation
New conversation -
-
-
@wycats dood, you should be telling us where to put those -
@codeslinger Yep! Just making sure we're not missing something obvious before we add more sugar to this canonization :)
End of conversation
New conversation -
-
-
@wycats I have used this approach in a View once. This was an Autocomplete Field, where the suggestions were retrieved via Model.find.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats For top level resources only Route. But for nested resources that aren't sideloaded, setupController, to get linkTo and direct URLs.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats in the routes; the alternatives just feel gross and wrongThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats in the router.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats in routes but sometimes in controllers too. i.e. to load children models on user's demandThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats I try and keep them in the routes, occasionally it seems necessary in controllers.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats RoutesThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats In RoutesThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats Route mostly, sometimes in ControllerThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats In my routes via the find automagic and in the associated controllers for fetching record children, typically.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.