3 Managing state in react.js (test)
⇦ Back to lesson
Question 1
How is state initialized in a React component, and what method is used to update the state with new values?
How is state initialized in a React component, and what method is used to update the state with new values?