btholt / btholt/complete-intro-to-react-v8
Wrapping `<App />` around `<ErrorBoundary>`
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.8k
- Forks
- 199
- PR merge metrics
- No merged PRs in 30d
Description
Hi Brain! I love the React course! :)
One question in part Error Boundaries. When I try the ErrorBoundary as you suggested like this:
root.render(
<ErrorBoundary>
<App />
</ErrorBoundary>
);
then it does not work. It doesn't catch any errors.
In DEV tools, there is only an uncaught Error:

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the root.render example from the Error Boundaries section and inspect why ErrorBoundary does not catch the reported error. Done means the example catches errors as described; the issue names no file or test, so locate the relevant course entry point first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100