第一個方法是封裝Clock Component更新Props,透過Props的更新所以程式碼會改成: const root = ReactDOM.createRoot(document.getElementById('root')); //這裡將clock從 ...
確定! 回上一頁