Add error overlay like create-react-app's
See original GitHub issueCreate-react-app uses a custom webpack dev server client and its own custom error overlay. We could use switch to react-dev-utils/webpackHotDevClient.js, except that it uses window.location.port. From my initial explorations, this was the dealbreaker.
That being said, it would be really nice to get an error overlay like CRA’s for Razzle
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
How to get an error overlay with React Hot Loader - Jakob Lind
Enable it for both warnings and errors. This gives an error overlay when there are errors. If yo want to enable this for...
Read more >react-error-overlay - npm
react-error-overlay. react-error-overlay is an overlay which displays when there is a runtime error. Development.
Read more >How can I use react-error-overlay outside create-react-app?
Install the react-error-overlay package via npm. Add a require.resolve to your app entry point array
Read more >NodeJS CLI script to create React apps
I'd like to know if there is any other way for me to create, ... It would be wise to add error handling...
Read more >Disable Error Overlay In Development Mode - ADocLib
Ask questionsAdd configuration for disable error overlay for reactrefresh and enabled ... I am using nwb not createreactapp. nwb configuration is as shown....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I am working with Dan to fix a bug that is preventing runtime errors from showing up. Right now only compiler / lint errors show
https://github.com/facebookincubator/create-react-app/pull/2515#issuecomment-325461989
AFAIK componentDidCatch can’t be used with SSR