What is the setState() method used for in React? Mark as favorite Copy Link To update the component's state and trigger a re-render of the component To add a new property to the component's state To remove a property from the component's state To replace the component's state with a new object Check Answer