Open In App

Web technologies Questions | React.js Quiz | Set-1 | Question 9

Which of the following function is true about changing the state in React.js ?
(A) this.State{}
(B) this.setState
(C) this.setChangeState
(D) All of the above

Answer: (B)
Explanation: The this.setState is used for changing the state in React.js whenever the state changes in react then it re-render the component in the browser.
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :