My angular application is lagging on <input>
fields and specially on <textarea>
ones. I used chrome dev tools to inspected what was happening and I found out the whole component tree is being refreshed on every character I type.
I started with template driven forms, moved to reactive forms, tried changing to "OnPush" change detection, runOutsideAngular
(this one I'm not sure I took the best approach because I created the formGroup
inside it), nothing seems to work.
Is there any way I can stop these changes when the focus is on input fields?
Thanks.
My particular issues was with method calls inside interpolations "{{...}}" on the template.
– MumiaIrrequieta Apr 11 '19 at 11:55