-
Notifications
You must be signed in to change notification settings - Fork 33
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
Warning: ReactClass: You're attempting to include a mixin that is either null or not an object. #6
Comments
create-text-gradient-class.js file borrows most of its structure from Text.js. So I'm not sure if NativeMethodsMixin is necessary - it is used only because Text.js also uses it. |
I did some digging, and opened a question in the React Native repo. Seems like perhaps you're not supposed to try importing that mixin from outside of the core library. I'd check to see if you're using any of the mixin's methods, and if not, consider removing it from the class. |
React Native repo's bot automatically closed that ticket for not adhering to their issue templates... I suggest investigating removing the undefined mixin. Best I can tell it's not exposed by React Native. |
Looks like you are right - NativeMethodsMixin is not exported from rn and can't be used by third-party components facebook/react#12212 |
Removed this warning in 0.0.9 |
I'm getting the following error with React Native 0.55.4:
The culprit seems to be NativeMethodsMixin which is coming back as undefined. Is this mixin necessary?
The text was updated successfully, but these errors were encountered: