try / catch is great but it only works for imperative code: try { showButton(); } catch (error) { // ... } ... Error boundaries preserve the ...
確定! 回上一頁