React 在production 和development 在處理 componentDidCatch() 錯誤的方式不同。 在development 時,錯誤將會冒泡到 window ,意思是任何的 window.onerror 或 window.
確定! 回上一頁