News for hackers. Stuff that matters.
Re:When does React re-render? Explaining rerenders and how t... by nothis on Wednesday April 29, 2020 @01:12PM (#23021591)
>IMO pagination is garbage UX, any sane GUI tookit can render more then 100 items on screen.

Well, I guess that's the web in 2020 in a nutshell, lol. What would you do with a list of 100,000 items? Just slowly scroll them out, one by one while your scroll gets faster and faster? At one point, are you just a billion pixels down? What does "scrolling up" even mean down there? Or do we just limit all lists to 1000 items, period?

Re:When does React re-render? Explaining rerenders and how t... by simion314 on Wednesday April 29, 2020 @02:10PM (#23022284)
It depends on the application, should we limit text editors to 1000 lines?

Should you limit the files in a folder to some number because the ListWidget has a limit of 1000 ?

No, the solution is too use our brain and realize that you can open giant log files in a text editor , you can have a list with many items in, this problem were solved already the issue is that HTML was designed for documents not applications and the built-in lists or tables are not optimized at all, where a List widget or DataGrid Widget in other toolkits were optimized.

I am not expecting a developer to put some hard work to fix this in his app, browsers or frameworks should do this, I dislike the idea that pagination is good UX as an excuse for "pagination is the cheap solution"