Upgrade to Pro — share decks privately, control downloads, hide ads and more …

(Somewhat) Complex Component Design – Ember.BP,...

Balint Erdi
February 11, 2016

(Somewhat) Complex Component Design – Ember.BP, 2015/02/11

Balint Erdi

February 11, 2016
Tweet

More Decks by Balint Erdi

Other Decks in Technology

Transcript

  1. Non-block form (no hash) Block form (with hash) Yields parameters

    to the block form (function call) Block params (function params)
  2. Why closure actions? • They can return values • Enable

    reacting to actions sent from the controller • Better debuggability • They can also bubble (check out ember-route- action-helper)
  3. Advanced concepts • Keep your component layers decoupled • Find

    ways to prevent registering • Replace observers with (DOM) actions