运行React Native示例出现null is not an object (evaluating 'this.state.text')
2016-08-10 11:53
696 查看
在运行官方示例的时候出现了null is not an object (evaluating 'this.state.text'),明明是直接copy的,state初始化也是根据ES6来的,怎么就突然报错了,很尴尬...
一开始以为是跟安卓版本相关,6.0行,4.4.4有bug,可是后来换了个4.4.4也可以,这就很奇怪了,只好把出问题的手机重新run android了一下,然后好了...
推断了一下,应该是hot reload不稳定引起的bug
一开始以为是跟安卓版本相关,6.0行,4.4.4有bug,可是后来换了个4.4.4也可以,这就很奇怪了,只好把出问题的手机重新run android了一下,然后好了...
推断了一下,应该是hot reload不稳定引起的bug
相关文章推荐
- React Native开发坑之null is not an object (evaluating 'inst.componentWillReceiveProps')
- react 蜜汁state烦恼 【初始化state报错:null is not a object (evaluating ‘this.state.value’)】
- React Native Undefined is not an object(evaluating ‘_react2.PropTypes.func’)
- React-Native 0.43.4 undefined is not an object (evaluating '_props[registrationName]') 正确的解决姿势
- 使用jqplot绘图出现window.G_vmlCanvasManager is null or not an Object
- null is not object evaluating ('_this3_selectRow')
- 【ReactNative】undefined is not an object(evaluating 'this.props.navigator')
- React-Native之undefined is not an object
- “this._postbackSettings.async is null or not an object”问题的解决
- undefined is not an object (evaluating 'this.props.navigator.push')
- null is an object evaluating 'this_onPress'
- react-native-baidu-map undefined is not an object(evaluting 'a.PropTypes.bool')
- React-native:Undefined is not an object
- 'this.m_clientController' is null or not an object - ReportViewer
- 使用flot绘图出现window.G_vmlCanvasManager is null or not an Object
- 使用flot绘图出现window.G_vmlCanvasManager is null or not an Object
- undefined is not an object (evaluating 'this.props.navigator.push')
- undefined is not an object (evaluating 'this.props.nav.push')的解决过程
- Android开发出现”This text field does not specify an inputType or a hint“
- '__pendingCallbacks[...].async' is null or not an object