Answer the question
In order to leave comments, you need to log in
What are the options for optimizing Angular 2 applications?
What are the options for optimizing angular 2 applications.
There is something like a large form of 20 groups of questions, 20 questions each. It is necessary to carry out calculations for each group, depending on the answer to the question in the group.
So far, I've solved rendering problems by adding OnPush and calling detectChanges in places where it was necessary.
Now I have two options for optimization:
1. Try to screw immutable js with redux and it seems to speed up rendering, but I'm not very sure about it + a big piece of work.
2. Make a virtual rendering and display only the part that should be visible, but there are problems with the fact that questions and groups can be rendered recursively and this will not always work adequately (for example, there can be only one group and 200 questions).
In general, I would like advice on optimization.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question