News for hackers. Stuff that matters.
Re:React Performance by JDDunn9 on Saturday July 04, 2015 @12:41AM (#9829229)
Kind of like how React benchmarks like to create tables with hundreds of rows and dozens of columns to test against other frameworks?
Re:React Performance by Offler on Saturday July 04, 2015 @05:35AM (#9829725)
You mean a grid? A component one is often asked to add to web applications for businesses. I've added 4 in the last week alone to apps I've worked on. It's bread and butter stuff.
Re:React Performance by JDDunn9 on Saturday July 04, 2015 @08:46AM (#9829989)
You shouldn't be making large grids for the web. Terrible practice. You should paginate.
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.