alibaba / alibaba/rax

[BUG] componentDidCatch inconsistent behavior compared to React

Open
#2,128 0 comments 0 reactions 1 assignee Claimed by @SoloJiang View on GitHub
Bug
Dominant language
JavaScript
Stars
8k
Forks
611
PR merge metrics
No merged PRs in 30d

Description

## Problem

- After child component updated with error, parent component's `componentDidCatch` should be emitted, React example: https://codesandbox.io/s/hardcore-liskov-s2etm?file=/src/App.js
- Missing error stacks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.