ComponentDidCatch isn't catching SVG Render errors

前端 未结 0 1576
栀梦
栀梦 2021-01-22 04:53

My team uses a general RenderErrorWrapper component everywhere. Looks basically like this

export class RenderErrorWrapper extends React.PureComponent

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题