Frontend Guild

EMBER CONCURRENCY Add-on

You can write concise, robust, and beautiful asynchronous code.

  • Instead of using a promise this will use Task Primitive because we can cancel the call

  • The task expose the state, so you can check if they are running or not

  • Tasks that live on Components are automatically canceled when that Component is unrendered so you don’t need to worry about stoping an unwanted call.

What is it?

How to use it ?

How to use it ?

    http://ember-concurrency.com/docs/tutorial

 

How we are using in Agent Portal ?

     re-autocomplete-search-box component

Ember render modifiers

Add-on

What is it?

  • They can help trigger actions when the modifier appears in the template
  • They can trigger actions while a property has changed

 

How to use it ?

    https://github.com/emberjs/ember-render-modifiers

 

How we use them in Agent Portal:

    app/templates/components/pagination-group.hbs

Frontend Guild Ember concurrency - modifiers

By Alvaro Uribe

Frontend Guild Ember concurrency - modifiers

  • 298