born2net / Angular-kitchen-sink

:rocket: Angular - learn by example
http://ng.javascriptninja.io
755 stars 146 forks source link

Quick question #4

Closed sebakerckhof closed 8 years ago

sebakerckhof commented 8 years ago

Hello,

Sorry to use github issues for my personal questions about angular 2, but this line confuses me: https://github.com/born2net/ng2Boilerplate/blob/master/src/pipes/CharCount.ts#L5

Why would you want to re-run this everytime any field updates instead of only the relevant input?

born2net commented 8 years ago

that was fixed, tx for heads up... for reference: https://egghead.io/lessons/angular-2-pipe-purity Sean.