They provide a setState() method you can use to update the state, triggering a re-render. class MyComponent extends React.Component { state = { ...
確定! 回上一頁