You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd noticed that you updated the babel plugin to allow block statements in dynamic functions but anything deeper than one level errors while using the plugin. See here for an example of a v2 function that breaks in v3. I've managed to get around the issue by using compound variables (love the new features) but I thought I'd make you aware no doubt someone with a similar use case will encounter this too.
Steps to Reproduce
Create a stylesheet with a dynamic function
Add a few nested if statements
Snack or Repository Link (Optional)
No response
Unistyles Version
3.0.0
React Native Version
0.76.3
Platforms
Android, iOS
Expo
Yes
The text was updated successfully, but these errors were encountered:
Description
I'd noticed that you updated the babel plugin to allow block statements in dynamic functions but anything deeper than one level errors while using the plugin. See here for an example of a v2 function that breaks in v3. I've managed to get around the issue by using compound variables (love the new features) but I thought I'd make you aware no doubt someone with a similar use case will encounter this too.
Steps to Reproduce
Snack or Repository Link (Optional)
No response
Unistyles Version
3.0.0
React Native Version
0.76.3
Platforms
Android, iOS
Expo
Yes
The text was updated successfully, but these errors were encountered: