多项选择题
关于React 的function组件说法正确的是()
A.函数时组件没有state
B.函数式组件没有生命周期
C.函数式组件没有props
D.函数式组件不能重新渲染
点击查看答案&解析
相关考题
-
单项选择题
React 类式组件在挂载阶段的执行顺序是()
A.constructor ->componentWillMount ->render ->componentDidMount
B.componentWillMount ->constructor ->render ->componentDidMount
C.componentWillMount ->componentDidMount ->render ->constructor
D.constructor ->componentWillMount ->componentDidMount ->render -
单项选择题
以下对react 和redux 的描述正确的是()
A.react 是用于构建用户界面的javascript 库
B.使用react 必须使用redux
C.使用redux 必须使用react
D.redux 是不可预测的 -
单项选择题
如何在react 中修改状态()
A.利用setState
B.利用setProps
C.利用changeState
D.利用changeProps
