I\'m using *ngFor
to iterate some data like this:
{{d}}
Everything is fine
This issue has no relation with *ngFor
, It's the normal behavior of the expression
inside the interpolation ({{ }})
. It is called by angular intentionally multiple times to check if the expression
has changed. Interpolation is meant for fetching (printing) expressions
and not recomended for calling methods
. It will fire unnecessarily.
Issue is with the method inside interploation not *ngFor