Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening large file blocks view #49

Open
tanishqkancharla opened this issue Jun 24, 2022 · 0 comments
Open

Opening large file blocks view #49

tanishqkancharla opened this issue Jun 24, 2022 · 0 comments

Comments

@tanishqkancharla
Copy link
Contributor

tanishqkancharla commented Jun 24, 2022

Not entirely sure what is the exact issue here, but open large_file.txt blocks rendering, and also slows down the typing experience by quite a bit.

Once the precise issue is determined, it could be fixed by a mix of the following:

  • Paginating server responses to client (meaning the server has to store all of the responses)
  • Virtualized scrolling on client (possible, another thing to implement)
  • React 18's concurrent apis (which are supposed to let you be able to prioritize some tasks as “low-priority” so e.g. typing in an input always remains fast).
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

No branches or pull requests

1 participant