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?
[ Parent
| on HN ]
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.
You shouldn't be making large grids for the web. Terrible practice. You should paginate.
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.