David, Mads, Sebastian and 1 more
How do you properly resolve asynchronous data before passing it off to a component?
You have a form for editing a t-shirt, and there you have a dropdown with multiple colors, you have to 'findAll' colors and also resolve the `belongsTo` color to properly select that one.
if the belongsTo is async this is really difficult, components don’t seem to handle promises at all. There’s talk of an ‘asynchronous component’ coming but how can this be solved the current technology?
Tue, Apr 21, 2015