changes in ember.js 1.9 and the road to ember.js 2.0

Post on 16-Jul-2015

284 Views

Category:

Software

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Welcome to meetup #6!

January 21st 2015

Sponsors

organizationHstry

venue and beerInSilicoDB

What has changed in Emberworld?

Ember 1.9 (and 1.9.1) released

Upgrade to Handlebars from 1.x to 2.0 (updateprecompiled templates)

Hooks for activate and deactivate

pauseTest test helper

Deprecated context switching for {{#each}}

Deprecated context switching for {{#with}}

Various internal performance improvements

All changes:

http://emberjs.com/blog/2014/12/08/ember-1-9-0-released.html

http://emberjs.com/blog/2014/12/23/ember-1-9-1-released.html

HTMLBars is landing in Ember1.10 (expected January 23rd)!

The Road to Ember 2.0(

)https://github.com/emberjs/rfc

s/pull/15

Philosophy

"Stability without stagnation": incremental changes, givepeople time with deprecations

Simplification and intuify

Borrow data-flow idea from React.js: data flows in,events go out

Easier attribute binding

HTML-syntax for components

Remove context switching from templates

One-way binding will be default

Routeable components

When entering a route:

Ember 1.x: creates controller, view, template

Ember 2.0: creates component, template (old way will stillwork)

Easier actions

top related