News for hackers. Stuff that matters.
Re:React Spreadsheet 2 – Your Own Google Sheets by arendtio on Friday November 24, 2023 @05:08PM (#38408925)
Actually, this is an important comment. Building a spreadsheet with web technology is not that difficult. However, building one with more than just the most basic features, which performs well, once the data grows, is a surprisingly hard task.

To give an example of what makes it so difficult: Some browsers (e.g. Chrome) seem to have special optimizations for rendering tables. So performance-wise it makes a difference if you use table-tr-td-tags or div-tags within your DOM.

Re:React Spreadsheet 2 – Your Own Google Sheets by ukuina on Friday November 24, 2023 @11:02PM (#38411070)
Which approach is more optimized in Chrome?
Re:React Spreadsheet 2 – Your Own Google Sheets by arendtio on Sunday November 26, 2023 @02:24PM (#38424175)
A few weeks ago I found a StackExchange thread where someone had benchmarked the two approaches and found, that table tags were somehow optimized. However, this was tested with identical content and with a table for which every cell had to be rendered. In other scenarios, the performance might be different, but for spreadsheets, this should be applicable. Sadly I can't find the link at the moment (was on a different PC).
Re:React Spreadsheet 2 – Your Own Google Sheets by ukuina on Thursday November 30, 2023 @08:18AM (#38473100)
Thanks!