Throw errors that occur during render#159
Throw errors that occur during render#159chrismcv wants to merge 1 commit intojamiebuilds:masterfrom
Conversation
I've been using react-loadable in a create-react-app application, and have found that errors thrown during the rendering of a resolved component are getting swallowed by react-loadable. Presently an error during render will not log anything meaningful in the console. I think it is preferable that they throw exception which react-error-overlay can catch and display.
|
@chrismcv thanks for raising this. After a lengthy upgrade from React 15 and webpack 3 to the latest versions (plus all deps, groan) I found react-loader was not , well, loading. After hours of googling I spotted this PR and, sure enough, after bypassing react-loadable errors started to appear. Thank you thank you! |
|
This is a very serious problem, pealse Hurry up |
|
Until someone can put together a real fix which doesn't fail the tests, anybody wanting to use use |
|
Has this problem solved?I'm using 5.5.0 with the same situation. |
|
This repo seems abandoned since September. Your options are:
|
|
@julienben |
|
@julienben EDIT: Test suites pass Ran all test suites. |
|
Thanks @julienben @jaybe78 |
I've been using react-loadable in a create-react-app application, and have found that errors thrown during the rendering of a resolved component are getting swallowed by react-loadable. Presently an error during render will not log anything meaningful in the console. I think it is preferable that they throw exception which react-error-overlay can catch and display.