tnc-ca-geo / animl-frontend

A frontend web app for viewing & labeling camera trap data by The Nature Conservancy.
https://animl.camera
15 stars 0 forks source link

Refactor `<ImagesTable/>` with updated libs #175

Open nathanielrindlaub opened 6 months ago

nathanielrindlaub commented 6 months ago

The core functionality (windowing/virtualization, infinite scroll, auto-sizing) of the current <ImagesTable/> is provided by libraries that all appear to have gone a bit stale:

They all work fine for now so this is not pressing, but an updated version would probably involve upgrading to TanStack Table v8 (the successor of react-table) and using TanStack Virtual to accomplish the infinite scrolling effect (see example here: https://tanstack.com/table/v8/docs/examples/react/virtualized-infinite-scrolling). Not sure how significant of a lift that would be but worth exploring at some point.

nathanielrindlaub commented 6 months ago

It was implemented in issue #1 after all :)