DEV Community

Discussion on: Angular - Avoid function calls in templates

Collapse
 
fyodorio profile image
Fyodor

I guess the tradeoffs of calling component’s methods in templates are mitigated if you use on-push change detection strategy inside simple purely presentational components, right?

Collapse
 
sandrocagara profile image
Sandro Jhuliano Cagara • Edited

You have a point, that's right. thanks!, i will create a new topic for that (onPush).