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

Add flushSync to preact-compat #3094

Merged
merged 1 commit into from
Apr 6, 2021

Conversation

zephraph
Copy link
Contributor

This PR is my attempt to address #2636. I ran into the issue of flushSync not being available when upgrading to the latest version of chakra UI which was added in this PR and was added to address facebook/react#18591 (comment). Hopefully the latter isn't an issue for us.

Always the possibility that this doesn't work as expected and we need to enhance it in someway. Without it though, it certainly doesn't work, ha.

Let me know if I need to update anything else.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.001%) to 99.446% when pulling e8812dc on zephraph:add-flush-sync into c7f57db on preactjs:master.

@zephraph
Copy link
Contributor Author

zephraph commented Apr 5, 2021

Let me know if there's anything you'd like me to change/update/improve. 🙏

@JoviDeCroock JoviDeCroock merged commit 88680e9 into preactjs:master Apr 6, 2021
cmlenz pushed a commit to cmlenz/preact that referenced this pull request May 10, 2021
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

Successfully merging this pull request may close these issues.

4 participants