Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

How would one implement react error boundary without componentDidCatch lifecycle #802

Open
erdahuja opened this issue Mar 29, 2020 · 0 comments

Comments

@erdahuja
Copy link

An interviewer asked me this, before React 16 when no concept of error boundary was available, how can we write our own error boundary component.

It appeared a very interesting question. Please share some insight. Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant