-
Notifications
You must be signed in to change notification settings - Fork 14
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
NativeWind errors 😱 #10
Comments
huh...I was lazy and put a platform check at the top of a component which does break react rules and could just be move to a parent component, but that's still weird to me. does native wind change the value of can push a fix up for that in a bit, but otherwise there shouldn't be any hook calls. |
@aretrace Okay, I removed that in 1.1.8. Could you try that and see if it's helpful at all? |
🧐When I add the With StyleSheet, when the
|
When using NativeWind
className
, I get the following error:This error is located at: in CssInterop.Text (created by UITextView) ... ERROR [ERROR: Rendered fewer hooks than expected. This may be caused by an accidental early return statement.]
Current setup:
M1 mac 14.5
node 20.12.2
expo 51.0.8 (default template)
nativewind 4.0.36
react-native-uitextview 1.1.7
ios 17.5
No error when only using StyleSheet. Other react native components are functioning with NativeWind.
The text was updated successfully, but these errors were encountered: