腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
react
超级
,
无法
读取
未定义
的
属性
'
call
‘
、
、
、
我尝试在第一个孩子中使用和重写父方法,但得到了Uncaught TypeError: Cannot read property '
call
' of undefined ? class BreadcrumbsHome extends
React
.Component { ..
浏览 36
提问于2019-10-14
得票数 3
回答已采纳
3
回答
我一定要打电话给super.componentDidUpdate吗?
、
在
React
.Component
的
子类中,是否必须从super.componentDidUpdate方法调用componentDidUpdate?还是自动完成
的
?(我试图调用它,但有一条错误消息
无法
读取
属性
call
of undefined)
浏览 9
提问于2015-06-10
得票数 1
回答已采纳
3
回答
React
-
无法
读取
未定义
的
属性
'
call
‘
、
我知道这个问题通常是由于没有正确绑定' this‘
的
值造成
的
。我不确定这是不是这里
的
问题,或者我是否遗漏了什么。谢谢/* jshint asi:true */ constructor(props) { onChange:
React
.PropTypes.func,}
浏览 0
提问于2015-10-04
得票数 8
回答已采纳
3
回答
TypeError:
无法
读取
React
.js上
未定义
的
属性
“映射”
、
我正在为
React
.js在线学习一个关于受控输入
的
教程,并且我正在反复地获取错误 import
React
from "
react
"; construct
浏览 1
提问于2019-09-11
得票数 2
2
回答
错误
无法
读取
未定义
的
属性
(
读取
“配置”)。TypeError:
无法
读取
未定义
的
属性
(
读取
“配置”)
、
、
、
、
我在我
的
react
本机项目中安装了@
react
-native-community/cli-platform-android,现在我得到
的
是"error不能
读取
未定义
的
属性
(
读取
“配置”)。TypeError:
无法
读取
运行npm run android
的
未定义
属性
(
读取
“配置”)。
浏览 8
提问于2022-06-02
得票数 2
2
回答
React
无法
读取
未定义
的
属性
使用propTypes验证道具会出现以下错误: TypeError:
无法
读取
未定义
的
属性
“func”。所讨论
的
代码位于代码段
的
底部:import ProjectItem from './Proje
浏览 2
提问于2017-10-14
得票数 13
2
回答
TypeError:
无法
读取
未定义
的
属性
“string”;安装硼库
、
我安装了库,但有错误:push../node_modules/boron/modalFactory.js.module.exports :
无法
读取
未定义
的
C:/Users/m/Desktop/chrome-extension/node_modules/boron/modalF
浏览 3
提问于2019-10-21
得票数 0
6
回答
使用
React
时
的
TypeError :
无法
读取
未定义
的
属性
“firstChild”
、
、
有时,当使用
React
库(如 )时,我会得到以下错误: /~/
react
-router/~/
react
/lib/ReactMount.js
浏览 10
提问于2014-11-26
得票数 28
回答已采纳
1
回答
为什么我
无法
在
react
中访问数组列表
、
、
我获取一些日期并获取数组,我可以映射并查看所有人员,但当我尝试映射或访问数组中
的
一些元素时,我得到了错误console.log… const data = awaitapi_
call</
浏览 1
提问于2019-08-18
得票数 1
2
回答
React
TypeError:
无法
读取
未定义
的
属性
“懒惰”
、
我遵循来为现有的
React
启用TypeScript。启动应用程序时,会出现以下错误:TypeError: Cannot read property 'lazy' of undefined import
React
, { Sus
浏览 5
提问于2020-04-01
得票数 0
1
回答
使用“
react
test-renderer”-
无法
读取
未定义
的
属性
“hasOwnProperty”时出错
、
、
、
我试图在我
的
react
应用程序中实现Jest,但是当我导入
react
-test-renderer时,我得到了错误消息: TypeError:
无法
读取
未定义
的
属性
'hasOwnProperty‘。我
的
App.test.jsx文件中唯一
的
一行是: import TestRenderer from '
react
-test-renderer'; // ES6
浏览 3
提问于2019-12-20
得票数 3
1
回答
使用
react
中
的
任何外部库时,
无法
读取
未定义
的
属性
“string”
、
因此,我使用了几个外部库来响应,比如
react
-markdown、
react
-bootstrap。 at Object._tickCallback (internal/process/next_
浏览 4
提问于2017-05-22
得票数 0
1
回答
作为参数传递
的
useRef
的
模拟返回值
、
、
我有以下函数,它以
React
.useRef()作为参数。当我运行测试时,我会得到以下错误。TypeError: useRef.current.removeChild不是一个函数 这就是实现。child.value) {
浏览 7
提问于2021-11-10
得票数 1
1
回答
按承诺获取构造函数变量
、
、
、
我
无法
使用javascript和
react
在获取调用中获得构造函数变量。我希望this.state.numXLabels
的
值在.then(函数(Json)回调中),但是我得到了TypeError:
无法
读取
未定义
(…)
的
属性
‘状态’。怎样才是正确
的
方法呢?以下是相关代码:import <em
浏览 4
提问于2016-04-23
得票数 2
回答已采纳
1
回答
使用
react
路由器在div中呈现组件
、
、
我正在做一个新
的
项目,我对此反应很新。我们正在使用打字本(TSX)。到目前为止,我有一个带有id为“root”
的
div
的
index.html文件。我有一个main.tsx文件,我相信这是我
的
主要组件。from '
react
';import { Router, Route, IndexRoute, browserHistory文件,以便它出现在我
的
根div中。
浏览 3
提问于2016-04-18
得票数 1
回答已采纳
1
回答
如何从导入
的
子组件(导航组件)中使用app
的
导航?
无法
读取
属性
导航是
未定义
的
。App.jsimport { ActivityIndicator, StyleSheet, Text, View } from '
react
-native/App/Components/Navigation'; import OneSignal from '
react
-na
浏览 1
提问于2019-09-16
得票数 0
1
回答
打字本反应不正确
、
我有以下打字本:import ReactDOM from '
react
-dom' return (_1 = require("
react
");const App = () => { return (
浏览 8
提问于2017-06-14
得票数 4
回答已采纳
2
回答
无法
读取
未定义
的
属性
'
call
‘
、
调用IO3D.services会导致:版本: 1.0.0-beta.22 (@master #274adf0 2017/08/02 10:16)IO3D.services.
call
('Model.search', { arguments
浏览 13
提问于2017-08-02
得票数 4
回答已采纳
1
回答
反应0.13.1渲染问题
、
我有一个非常简单
的
设置,
无法
使用Reactive0.13.1运行: return( )})
React
.createElement(
React
.createFactory(TheApp)), doc
浏览 1
提问于2015-04-12
得票数 2
回答已采纳
1
回答
错误TypeError:
无法
从Agora VideoUIKit
读取
未定义
的
属性
“SurfaceView”
、
我使用VideoUIKit-ReactNative,我
的
代码是:import AgoraUIKit from 'agora-rn-uikitconnectionData} rtcCallbacks={rtcCallbacks} /> <Text onPress={()=>setVideoCall(true)}>Start
Call
</Text
浏览 10
提问于2022-11-07
得票数 0
回答已采纳
点击加载更多
相关
资讯
一文了解“最好编程语言”PHP 必知的 16 个编程法则!
php中的魔术方法
Visual Studio Code 1.25.1 发布,常规更新
React 路由状态管理总结
React 状态管理:状态与生命周期
热门
标签
更多标签
云服务器
ICP备案
实时音视频
对象存储
即时通信 IM
活动推荐
运营活动
广告
关闭
领券