-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix, replace for..of on for loop #2096
Fix, replace for..of on for loop #2096
Conversation
Could you provide an example code to reproduce this issue? |
Looks like the JS runtime (or the babel plugin) doesn't whitelist the Maybe is |
7c42db6
to
2708a08
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for PR 🙌
Could you just change i += 1
to ++i
?
@NikitaDudin which version of babel and Hermes do you use? |
@piaskowyk hermes: 0.7.2 babel: 7.9.0 |
Are you sure me should change to the prefix form |
Yes, |
I generally don't pick on things like that because this doesn't make a big difference, but I optimized this part of the code last time and I want to make it as fast as possible. 😅 |
@NikitaDudin good job, thanks 💪 |
Description
Application crash when using transform or color properties on a style object. Replacing for..of loop on for loop solves it problem.
Issue