GDG Feira de Santana
19/01/2017
Breaking changes
ES6
TypeScript
NO RETROCOMPATIBILITY
2.4.3v
SemVer
Roadmap
Ferramentas
E muito (muito mesmo!) mais!
npm install --save @angular/materialimport { MaterialModule } from '@angular/material';
// other imports
@NgModule({
imports: [MaterialModule.forRoot()],
...
})
export class PizzaPartyAppModule { }
<md-list>
<md-list-item>Item 1</md-list-item>
<md-list-item>Item 2</md-list-item>
<md-list-item>Item 3</md-list-item>
</md-list>Confiabilidade
Veja: https://pwa.rocks
Desempenho
Engajamento
Conversão
Electron
NW.js
Optimized
See: https://evancz.github.io/react-angular-ember-elm-performance-comparison/
// main.js
import { cube } from './maths.js';
console.log( cube( 5 ) ); // 125// maths.js
export function square ( x ) {
return x * x;
}
export function cube ( x ) {
return x * x * x;
}
function cube ( x ) {
return x * x * x;
}
console.log( cube( 5 ) ); // 125Geração e execução de projetos
Geração de componentes, diretivas, filtros e serviços
Testes (unitários e E2E: Karma, Jasmine e Protractor)
CSS Pre-processors
npm install -g angular-cling new PROJECT_NAME
cd PROJECT_NAME
ng serveng generate component my-new-component
ng g service my-new-service
ng g module my-moduleng test
ng e2eng new sassy-project --style=sass
ng new less-project --style=less
ng new stylus-project --style=stylusIt's just Angular"
@matheuscas
matheus.mcas@gmail.com
Obrigado!