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
V4 unclear warnings: Making a component inheritable should only happen during the initial render #873
Comments
seem to get this on many components and I don't get it 😅 this one too
|
In my case, it was due to a dynamic In your case you don't have a dynamic |
I've noticed this being thrown on |
Getting the same and the root cause is very hard to track down. Right now it seems that it has something to do with the bundler and
When I reload the Expo Go app on iOS after the crash I see that styles with the Not sure if the issue is with Nativewind platform-specific styling being broken or it's an issue with the bundler. There's a potentially related issue here. tl;dr - bundling for web breaks the running iOS build by adding web styles to it. |
Describe the bug
I keep running into this but its not clear to me what this means, it would be good to have documentation or examples of wrong/correct usage
To Reproduce
Steps to reproduce the behavior:
For example with react hook form
I get the warning from this component
What is incorrect in this case? this kind of pattern is relatively common so I'm clear on what the issue is.
Expected behavior
Either a clearer explanation or some documentation on how to avoid this behaviour.
Expo Snack
If applicable, add a link to an Expo snack demonstrating the issue. There are multiple example snacks available at nativewind.dev.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: