Skip to content

Add flushSync to preact-compat#3094

Merged
JoviDeCroock merged 1 commit intopreactjs:masterfrom
just-be-dev:add-flush-sync
Apr 6, 2021
Merged

Add flushSync to preact-compat#3094
JoviDeCroock merged 1 commit intopreactjs:masterfrom
just-be-dev:add-flush-sync

Conversation

@just-be-dev
Copy link
Copy Markdown
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
Copy Markdown

Coverage Status

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

@just-be-dev
Copy link
Copy Markdown
Contributor Author

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