每當state 發生變動,React 就會更新並重新渲染元件以使其跟state 一致。 當我們選了某個索引後,<Tabs/> 元件就要去更新<Tab/> 和<TabPanel/> 的state ...
確定! 回上一頁