0

If there is a view that displays elements in an array, and the array grows; how does angular refresh the DOM? Does it just append the new elements to the existing view or recreates the whole thing?

I fear that I might run into a Schlemiel the Painter's algorithm if I keep adding stuff to lists...

fortran
  • 74,053
  • 25
  • 135
  • 175

1 Answers1

0

The api appends a new element to the end of the dom tree (well at least the section you are working with) or beginning depending on the filter mechanic you implement. You should be safe, adding as many elements you like of course there is a limit to how big you can get in reality. However for sane amounts of items you should be perfectly fine.

Nomad101
  • 1,688
  • 11
  • 16