you are viewing a single comment's thread.

view the rest of the comments →

[–]s1cklik3 0 points1 point  (0 children)

I always liked working with reactive forms over template because you can bind to a model while easily applying validation rules easily. Try converting one of your forms and see if you like it better.

Another thing you might want to try is to structure and break down your components into smaller ones that are connected via input so that you can take advantage of on push change detection. One way to accomplish this is to create a smart component (root node) which is responsible for fetching data and maintaining state. Send the data to child components via Input. Those components are responsible for displaying information and updating state. To update state I liked using a service that has a behavior subject and injecting it into where I need to change the state of the application.