repl
repl copied to clipboard
Is it able to catch runtime errors?
By inspecting the code, I found that runtimeErr is only used in the Message component and is not exposed outside the component. The error in the state doesn't seem to be runtimeError.
use onErrorCaptured hooks can capture complire error,