@beddu wrote:
Hi everybody,
Ember api reference states:
Ember Helpers are functions that can compute values, and are used in templates. https://emberjs.com/api/ember/release/classes/Helper
Thinking about an issue that look like not to have a direct solution in Ember like the long discussed “long polling”, I had the idea to implement an helper to be placed on the
application
template that will satisfy my needs asynchronously by means of javascript promises.That will lead to a solution that is not bare javascript hidden in an external module in
vendor
folder, but it might consist in a misuse of theHelper
class.What do you people think about it?
Posts: 5
Participants: 2