相关考题
-
多项选择题
shouldComponentUpdate 的作用是啥以及为何它这么重要?()
A.根据nextProps,nextState组件的应用场景设置函数的合理返回值能够帮我们避免不必要的更新
B.可以用nextprops修改props
C.可以用nextprops修改state
D.shouldComponentUpdate 允许我们手动地判断是否要进行组件更新 -
多项选择题
事件代理的实现原理说法错误的是()
A.事件冒泡
B.阻止默认行为
C.事件捕获
D.事件对象 -
单项选择题
检测浏览器特性,判断浏览器类型通常用()检测。
A.navigator.userAgent
B.location.userAgent
C.location.href
D.hisitory.go()
