Juri Strumpflohner

Coding Architect

@angularpodcast - Immutability with Angular with Minko Gechev

Immutability is something that is a hot topic recently. Although is has been used previously Facebook with React made it popular again (at least that’s my perception). While Angular 2 will have support for immutability, Minko Gechev is brought it to Angular 1.x as well.

  • “Functional user interfaces”: UI components getting an input (data) and giving an output (rendered UI). Should not have side-effects -> pure function
  • check for updating view easier, we just have to compare object references
  • Large lists? Isn’t it slower to recreate entire list rather than the single new entry??

Comments

0

Your ad here?