dillon1000/react

Commit

Better messaging for componentDidCatch cross-origin errors (#10447)

The prior message was a bit wordy and didn't cover all cases (like the one we discovered while researching #10441).

We can use the new URL to explain background info on the DEV-mode technique we're using in addition to common fixes (eg crossorigin attribute for CDN scripts and Webpack devtools settings). Putting this information behind a link will allow us to more easily edit it in the future as common causes for this issue change.

Resolves #10441
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/shared/utils/ReactErrorUtils.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…