I am using Angular2 seed ( https://github.com/mgechev/angular2-seed ) and I ran into a problem.
In fact, in my html template, I use some bindings like {{test}} with a variable test in the component and {{getTest ()}}, which calls the getTest () function.
If I use the console log in getTest (), every time I move the mouse I get a log.
Is this the desired behavior?
I thought it would only be updated if the value changes, as with the observer. Should I use an observer to avoid this call every time?
Thank.
source
share