Is there any limit on a number of rendered components on a single page\within a single Lightning App? Here is an error message that occurs sometimes when many records are rendered in a Lightning App:

"Too many components for aura://ComponentController.getComponent(...)"

So is it a built-in limit on an Aura/Lightning App component instances number? Or is it the framework failing to handle the number of elements of a single component type?


Per app/cmp there is a 10,000 inner component limit. This number is chosen and enforced by the framework. Source code here.

This was introduced to prevent infinite loop situations where a component included itself in markup repeatedly. It's also an attempt to prevent scenarios that would be detrimental to performance for the app, such as a large number nested loops creating the same or similar component.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.