We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
react-native-create-bridge
followed the youtube tutorial and when i tried to run it in Ios, got an error "Cannot ready property 'string' of undefined.
I found out recently that in order to complete the tutorial, prop-types must be installed. The new code should look like this
exampleProp: PropTypes.string instead of
exampleProp: PropTypes.string
exampleProp: React.PropTypes.string
Just thought i'd put it out there for people that are new to programming/react-native
The text was updated successfully, but these errors were encountered:
Also View.propTypes has been deprecated
View.propTypes
View.propTypes -> ViewPropTypes import { ViewPropTypes, requireNativeComponent } from 'react-native'
ViewPropTypes
import { ViewPropTypes, requireNativeComponent } from 'react-native'
Sorry, something went wrong.
No branches or pull requests
Dev setup:
react-native-create-bridge
version:I am using create-bridge in a:
What you did:
followed the youtube tutorial and when i tried to run it in Ios, got an error "Cannot ready property 'string' of undefined.
I found out recently that in order to complete the tutorial, prop-types must be installed. The new code should look like this
exampleProp: PropTypes.string
instead of
exampleProp: React.PropTypes.string
What happened:
Just thought i'd put it out there for people that are new to programming/react-native
The text was updated successfully, but these errors were encountered: