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

viewport: lazy loading #694

Open
flavono123 opened this issue Dec 24, 2024 · 2 comments
Open

viewport: lazy loading #694

flavono123 opened this issue Dec 24, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@flavono123
Copy link

Is your feature request related to a problem? Please describe.
when i render over a 10k lines of string, updating is lagging with a low responsive

Describe the solution you'd like
only render the set content then lazy load for others, the out of current content

Describe alternatives you've considered
idk

Additional context
will attach simple codes to reproduce soon

@flavono123 flavono123 added the enhancement New feature or request label Dec 24, 2024
@meowgorithm
Copy link
Member

Hey @flavono123! This is a good one, thanks for filing an issue against it.

Please do include some sample code when you can: it will make it a lot easier for us to look into this one (a gist is fine if you need to include a large amount of data).

@flavono123
Copy link
Author

hello @meowgorithm

first, my assumption was wrong. just only 10k lines of string do not occur lags to bubbletea's rending lifecycle.
as you said it might be related retrieving some amount of data.
i observed this issue in my personal project, which is not distributed yet, so tricky to explain to reproduce i could if you want.

you may close this issue is not urgent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants