-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Cannot read property 'string' of undefined #2517
Comments
have you tried upgrading RNRF? |
When I try this, it is crashing in TabbedView:
static propTypes = {
navigationState: PropTypes.object.isRequired,
renderScene: PropTypes.func.isRequired,
style: View.propTypes.style,
};
… On 18 Oct 2017, at 11:43, Michiel van Roon ***@***.***> wrote:
try Text.proptypes.string instead of PropTypes.string
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#2517 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AKfuC2pD2CpCUffsTR9pK3sAtK_VhDYKks5stcgjgaJpZM4P8VrE>.
|
@mvanroon Still there with [email protected]. |
It's working at version 3.41.0 after replace the deprecated |
Try upgrading to v4.x and see if the issue still persists. |
@mvanroon Ok, next time I'll ask it there. |
Post your problem on stackoverflow along with your code and I'll have a look. @aksonov could you close this issue please? |
Hello @papsti7 did you finally solve ? I have same problem in this versions: |
any update on this? |
Version
These are my dependencies:
"dependencies": {
"firebase": "^4.5.0",
"prop-types": "^15.6.0",
"react": "^16.0.0",
"react-native": "0.49.3",
"react-native-router-flux": "^3.26.22",
"react-native-router-redux": "^0.2.2",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-thunk": "^2.2.0"
I tested it with "react-native-router-flux": "^4" too, but same behaviour.
Expected behaviour
Show component with router header.
Actual behaviour
Click on " Scene.js:23:2" shows up this file:
Steps to reproduce
Codesnippet should explain enough:
const RouterComponent = () => ( <Router> <Scene key="login" component={LoginForm} tabTitle="Login" /> </Router> );
PS: tested "tabTitle" and "title", but the error is the same.
The text was updated successfully, but these errors were encountered: