I am currently building a somewhat complex Lightning App page. I have currently encountered a requirement to optimize the page due to slowness in the page loading and filtering records using client-side interactions. During my analysis, I noticed that in several places throughout the app, we have Lightning components inside of <aura:iteration> tags. I haven't seeing this anywhere in the documentation, but could it result in performance degradation to include Lightning components in the aura:iteration tag?
Also, is there a document available anywhere outlining the best practices for optimal performance in cases like this when building apps with Lightning?
I have attached a screenshot of one code block where we have multiple components in an iteration.
Thank you for any help you can provide.
<aura:iteration />tags to reusable lightning components inside the iterations. We did not notice any significant performance difference once using the lightning components. Do note that these components have no interaction with APEX which may have a big impact on performance and we see pretty wild differences in load times throughout the day even with the same code loading each time.