单项选择题
在新兴框架react中,,那我如何访问title属性()
A.this.props.title
B.this.title
C.this.state.title
D.this.prop.title
点击查看答案
相关考题
-
单项选择题
在新兴框架react中,如果我在DOM元素设置ref=‘input’属性,那我获取DOM的语法是:()
A.this.ref.input
B.this.refs.input
C.this.input
D.this.ref -
单项选择题
在新兴框架react中,es6的方式推荐的进行创建组件的方式:()
A.class的方式
B.function的方式
C.变量的方式
D.常量的方式 -
单项选择题
在新兴框架react中,react项目开发,我们一般使用什么进行组件传值()
A.prop
B.props
C.state
D.status
