React Practice Test
React REACT Practice Test
Which of the following React functions will update the data of a component while remaining within the componentWillMount?
Select your answer
A
updateState()
B
initState()
C
addState()
D
setState()
Need a hint?