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
it will emits Unistyles: we detected style object with 2 unistyles styles. This might cause no updates or unpredictable behavior. Please check style prop for "Text" and use array syntax instead of object syntax. [Component Stack]
Description
Hi there,
If I have the following code
index.tsx
TextComponent.tsx
it will emits
Unistyles: we detected style object with 2 unistyles styles. This might cause no updates or unpredictable behavior. Please check style prop for "Text" and use array syntax instead of object syntax. [Component Stack]
If changing to
It doesn't emit any warnings anymore, but obvisously reanimated doesn't work anymore
Steps to Reproduce
[email protected]:jeremybarbet/unistyles-sandbox.git
and run the app on therepro/animated.text
branchSnack or Repository Link (Optional)
https://github.com/jeremybarbet/unistyles-sandbox
Unistyles Version
3.0.0-nightly-20250121
React Native Version
0.76.6
Platforms
iOS
Expo
Yes
The text was updated successfully, but these errors were encountered: