Live data from Hacker News

Show HN: React Spreadsheet 2

rowsncolumns.app

11–20 of 144 posts

Re: Show HN: React Spreadsheet 2

#14

Is this related to the react-spreadsheet[1] project? Where does the "React Spreadsheet 2" from the title come from? It's not clear if this is an update to the project, a fork of an existing project, or something brand new. [1] - https://www.npmjs.com/package/react-spreadsheet

Hi, Its not related to that project. Its an update to an already existing project under RownsColumns, hence the name.

Re: Show HN: React Spreadsheet 2

#16
post #5

Earlier quoted context omitted.

I think the question can be will a user wants to see 1M rows at a time. Probably no. Spreadsheet uses virtualisation to display data, ie only data viewable in a Row x Column viewport is displayed. This improves rendering performance. Data performance can be improved by 1. Lazy loading data or Infinite scrolling. We have a built-in async hook that does this. 2. Only save pointers to data that is being displayed. So if…

I'm checking it out on my phone and scrolling through the interface is pretty choppy, but rather fluid in a Google sheet. Maybe you might be able to further tweak the virtual row rendering? Props for the fact that when I scroll a bit faster things don't disappear, which I've seen before in SPAs with infinite scroll.

Could you share which phone you were using? We use virtual rendering at both row and column level.

Re: Show HN: React Spreadsheet 2

#19

It crashed: 139-d48f98f3a9d41491.js:1 TypeError: Cannot read properties of undefined (reading 'rowCount') at nI (561-5e048c82ab8ff4d8.js:5:68277) at e (452-22edc4adb41de58f.js:1:1090692) at rs (2443530c-0641256dae818679.js:9:38883) at lg (2443530c-0641256dae818679.js:9:54218)

Ah. Could you share more on how you got this error, Maybe i should setup sentry.io for the demo.
Post reply on HN