Skip to content

Comments

refactor: improve virtualized text viewer with React Query infinite scroll and simplified buffering#108

Merged
chriswritescode-dev merged 3 commits intomainfrom
dev
Feb 6, 2026
Merged

refactor: improve virtualized text viewer with React Query infinite scroll and simplified buffering#108
chriswritescode-dev merged 3 commits intomainfrom
dev

Conversation

@chriswritescode-dev
Copy link
Owner

Summary

  • Refactored virtualized text viewer to use React Query infinite scroll instead of custom range loading
  • Merged line counting and reading into single backend function for efficiency
  • Simplified buffering logic by removing complex pre-rendering and buffer management
  • Increased virtualization thresholds and chunk sizes for better performance
  • Consolidated state management and removed redundant ref-based tracking

This refactoring significantly reduces code complexity while improving performance and memory efficiency for large file viewing.

@chriswritescode-dev chriswritescode-dev merged commit f570758 into main Feb 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant