Skip to content

Commit

Permalink
Create short link for jsx warning (#28899)
Browse files Browse the repository at this point in the history
Short link created in reactjs/react.dev#6772
  • Loading branch information
rickhanlonii authored Apr 24, 2024
1 parent 6f18664 commit 6f6e375
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 6f6e375

Please sign in to comment.