News for hackers. Stuff that matters.
Re:React Performance by Offler on Saturday July 04, 2015 @03:12PM (#9831267)
I'm not sure why it's terrible practice, the only reason I can think of is a performance one. As I said earlier in the thread though that's only a problem if you create infinite lists and never clean up after yourself.

The correct way to design such components would be to only create DOM for elements in view. Which is why this test is flawed.

There are no comments on this comment yet.