单项选择题

React中下面那个生命周期可以使用this.setState()

A.componentWillUpdate
B.componentDidUpdate
C.componentWillReceiveProps
D.render

热门 试题

判断题