Q. In React, which method is used to update the component's state and trigger a re-render?