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'm trying to use a third party component, react-native-text-gradient, but am getting a warning in my console as follows:
Warning: ReactClass: You're attempting to include a mixin that is either null or not an object. Check the mixins included by the component, as well as any mixins they include themselves. Expected object but got undefined.
I'm trying to use a third party component, react-native-text-gradient, but am getting a warning in my console as follows:
It seems that doing
import NativeMethodsMixin from "react-native";
returns undefined. I've created an issue in that repo, but in researching further it seems thatNativeMethodsMixin
is perhaps not exposed outside of the core library.I've also tried updating how the lib's importing NativeMethodsMixin as per @hramos's proposal in this similar/closed issue:
But that throws:
The text was updated successfully, but these errors were encountered: