Skip to content

Instantly share code, notes, and snippets.

@e-schultz
Last active May 4, 2016 17:25
Show Gist options
  • Select an option

  • Save e-schultz/38d20733c2af54ddf66441d595bb7b57 to your computer and use it in GitHub Desktop.

Select an option

Save e-schultz/38d20733c2af54ddf66441d595bb7b57 to your computer and use it in GitHub Desktop.
ng2conf2016notes

Welcome Talk

  • Focus on speed - rendering, 2.5x faster, re-render, 4.2x faster

  • template compiler - can have an offline compile step, generate optimized javascript

  • Angular 2 - currently, kind of big - 170k, angular1 - was 56k, ng2 - down to 45k

  • improved lazy loading of routes

  • angular universal - server side rendering improvement, sends on the server side - sends out just HTML/css

  • first payload comes down - start streaming full JS to actually run the app

  • can include a preboot script that records user actions - that replays once everything is ready

  • node.js / asp.net for now - soon to be others

Web Workers

  • once code gets moved into a webworker - no longer can acess the dom. Most of angular code can be moved into a webworker
  • DOM - UI thread, other stuff - worker thread

style

  • angular.io/styleguide - offical style guide. (note: review our own - ??)
  • Codelyzer - static analysis on code, matches against style guide - cool

cli

  • new cli site, work is actually getting done onit
  • todo: see how cli fits into our workflow / style guides / etc

(random thought: contentful + angular universal = CMS?)

  • vaadinui
  • ng2-bootstrap
  • kendo, others - lots of UI framework/options comming up

style talk

]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment