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

v3.21.0 Incompatible with React Native environment #2269

Open
rrebase opened this issue Mar 29, 2023 · 3 comments
Open

v3.21.0 Incompatible with React Native environment #2269

rrebase opened this issue Mar 29, 2023 · 3 comments

Comments

@rrebase
Copy link

rrebase commented Mar 29, 2023

Description

zod >=3.21.0 is incompatible in the default React Native 0.70 environment after #2090

The issue seems to come from use of the Unicode property escape syntax, which is currently not supported by Hermes (the default React Native JS engine)

const emojiRegex = /^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u;

Easiest way to reproduce is by creating a new Expo app with Hermes enabled.

@rrebase
Copy link
Author

rrebase commented May 17, 2023

Related: #2433, #2302

@stale
Copy link

stale bot commented Aug 16, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale No activity in last 60 days label Aug 16, 2023
@rrebase
Copy link
Author

rrebase commented Aug 16, 2023

Still relevant

@stale stale bot removed the stale No activity in last 60 days label Aug 16, 2023
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

1 participant