samvera-labs / ramp

Interactive, IIIF powered audio/video media player React components library. Styleguidist Docs: https://samvera-labs.github.io/ramp/
https://ramp.avalonmediasystem.org/
30 stars 5 forks source link

Fix slow search by handling timing of updates and cache #571

Closed Dananji closed 2 months ago

Dananji commented 2 months ago

I was able to reduce the UI update time by ~2 seconds (~4 seconds to ~1 second) for search within functionality from the fixes made in this PR.

I think this could be further improved by restricting the updates to props that goes into TranscriptList component with search within, maybe?