Ember 1.8 Beta

Martin Muñoz
September 11, 2014

Ember 1.8 Beta

Martin Muñoz

September 11, 2014

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

56 slides
  1. Lots of string operations are now cached: - camelize/dasherize/whateverfy -

    a hash lookup to tell if a path is global - a hash lookup to split
  2. backburner’s pushUnique got a lot of love. This has a

    big effect on: - Ember Data - rendering big {{each}} blocks
  3. The job of bindings: • observe both sides of the

    binding • if either side changes, schedule an update on the runloop • break ties: down always wins.
  4. Because of some complications and some others, the entire each

    view much be re-rendered. So we can’t do any smart React style diffing or anything at all smarter than “actually rerender everything”.
  5. In order for Ember to get better, we need to

    improve how keywords work. It will have far reaching consequences on the composibility of components
  6. {{myvar}} {{#if myvar}} {{myvar}}!! {{/if}} {{x-foo value=myvar}} 
 {{#each item

    in items}} {{name-tag name=item.name}} {{item.name}} {{/each}}
  7. {{myvar}} {{#if myvar}} {{myvar}}!! {{/if}} {{x-foo value=myvar}} 
 {{#each item

    in items}} {{name-tag name=item.name}} {{item.name}} {{/each}}

More Decks by Martin Muñoz

Other Decks in Programming