Skip to content

Virtual scrolling to improve performance #345

@devkokooo

Description

@devkokooo

Current Problem

When loading large files, whole editor turns blank. This causes memory issues from loading too much of what the user can't see.

Proposed solution

Render only the lines that are visible to the user's viewport

Testing Criteria

Should be able to load and render a whole bun.lock file (1k+ lines) without errors. Stress test with increasingly large file sizes too (5k, 10k, 20k, 50k).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions