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 support for React 18 #665

Merged
merged 1 commit into from
Aug 12, 2023
Merged

Add support for React 18 #665

merged 1 commit into from
Aug 12, 2023

Conversation

nadenf
Copy link
Contributor

@nadenf nadenf commented Aug 4, 2023

This PR adds support for React 18 and sets it as the new default but leaves existing tests as-is.

It has been verified to be backwards compatible with older React versions.

flushSync is needed for tests since render is asynchronous + text-enc is used as a poly-fill for TextEncoder().

Copy link
Owner

@shadaj shadaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome, thanks for the PR!

@shadaj shadaj merged commit e3ba8c2 into shadaj:main Aug 12, 2023
8 checks passed
@nadenf nadenf deleted the fix-664 branch August 13, 2023 00:15
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.

3 participants