相关考题
-
单项选择题
react路由中的Redirect组件,它的作用是()
A.对路由的重定向
B.路由的精准匹配
C.路由的唯一匹配
D.展示对应的组件 -
单项选择题
react的中的哪一个周期函数执行了,代表这个组件被销毁了()
A.componentWillMount
B.componentDidMount
C.render
D.componentWillUnmount -
单项选择题
react的周期函数中,render方法至少执行几次()
A.0
B.1
C.2
D.3
