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

perf(todo): Merge hot updates of uno.css to reduce the number of updates #3775

Closed
4 tasks done
Simon-He95 opened this issue May 6, 2024 · 2 comments
Closed
4 tasks done

Comments

@Simon-He95
Copy link
Contributor

Clear and concise description of the problem

Every time the file magicString is updated, it will trigger a hot update of uno.css. Is it possible to find a way to merge this update, or add a delay or cancellation strategy, and only update it once for the last time?

Suggested solution

To be explored

Alternative

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Read the README.md of using the package.
  • Already used the Interactive Docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@antfu
Copy link
Member

antfu commented May 8, 2024

We already doing a bit of throttling for sending the events. If too long it would make it feel slower to response to user changes. Do you have some case specifically to improve?

@Simon-He95
Copy link
Contributor Author

#3741

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

2 participants