Skip to content

Commit

Permalink
Create short link for jsx warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhanlonii committed Apr 24, 2024
1 parent 6f18664 commit fcc9b19
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/react/src/jsx/ReactJSXElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -738,9 +738,7 @@ export function createElement(type, config, children) {
console.warn(
'Your app (or one of its dependencies) is using an outdated JSX ' +
'transform. Update to the modern JSX transform for ' +
'faster performance: ' +
// TODO: Create a short link for this
'https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html',
'faster performance: https://react.dev/link/new-jsx-transform',
);
}
}
Expand Down

0 comments on commit fcc9b19

Please sign in to comment.