SAN错误捕获
#631
Replies: 1 comment
-
|
有人在 issues 里也提到了相同的需求:#636 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
背景是这样的,我们现在是在做服务端渲染,渲染的函数是通过renderToSource编译出来,目前抛出来的错误很难定位到是在哪个组件里面抛出来的,现在想要解决这个错误定位的问题。看了看react有Error Boundaries,vue也有errorCaptured,san有类似的机制吗?
Beta Was this translation helpful? Give feedback.
All reactions