Browse Source

Replace old babel plugin link with new one (#3215)

main
HKalbasi 4 years ago
committed by GitHub
parent
commit
fb71011c30
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/error-boundaries.md

2
content/docs/error-boundaries.md

@ -97,7 +97,7 @@ You can also see the filenames and line numbers in the component stack trace. Th
<img src="../images/docs/error-boundaries-stack-trace-line-numbers.png" style="max-width:100%" alt="Error caught by Error Boundary component with line numbers">
If you don’t use Create React App, you can add [this plugin](https://www.npmjs.com/package/babel-plugin-transform-react-jsx-source) manually to your Babel configuration. Note that it’s intended only for development and **must be disabled in production**.
If you don’t use Create React App, you can add [this plugin](https://www.npmjs.com/package/@babel/plugin-transform-react-jsx-source) manually to your Babel configuration. Note that it’s intended only for development and **must be disabled in production**.
> Note
>

Loading…
Cancel
Save