qri-io / frontend

frontend application for our qri.cloud site
GNU General Public License v3.0
3 stars 2 forks source link

feat: add virtualized body scrolling #660

Closed chriswhong closed 2 years ago

chriswhong commented 2 years ago

image

Adds react-virtualized to BodyTable (Closes #158)

TODO: the local state used to store fetched rows will grow indefinitely, and could get huge if a user loads an entire dataset with many 100-row api calls. We will want to limit the size of this local state, and prune rows that are far away from the section the user is viewing. We can punt on this until it becomes a problem.

chriswhong commented 2 years ago

Added the requested changes.