Whenever the state object changes, React calls the render method on <MyComponent/> . ... 6 this.state = { date: new Date(), name: 'Kofi'}; ...
確定! 回上一頁