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: abort stale type-checks on fast recompilations #764

Merged
merged 2 commits into from Jul 18, 2022

Conversation

piotr-oles
Copy link
Collaborator

When user saves changes faster than type-checking process, we can end-up with a queue of type-checks that could be skipped. This PR ensures that we queue only 1 type-check per compilation and abort previous.

Closes: #741

@piotr-oles piotr-oles self-assigned this Jul 17, 2022
@piotr-oles piotr-oles merged commit ab5b12d into main Jul 18, 2022
@piotr-oles piotr-oles deleted the fix/improve-async-queue branch July 18, 2022 06:30
@github-actions
Copy link

🎉 This PR is included in version 7.2.13 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

[HELP] Issues with re-renders
1 participant