Skip to content

Commit 6f6e375

Browse files
authoredApr 24, 2024··
Create short link for jsx warning (#28899)
Short link created in reactjs/react.dev#6772
1 parent 6f18664 commit 6f6e375

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎packages/react/src/jsx/ReactJSXElement.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -738,9 +738,7 @@ export function createElement(type, config, children) {
738738
console.warn(
739739
'Your app (or one of its dependencies) is using an outdated JSX ' +
740740
'transform. Update to the modern JSX transform for ' +
741-
'faster performance: ' +
742-
// TODO: Create a short link for this
743-
'https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html',
741+
'faster performance: https://react.dev/link/new-jsx-transform',
744742
);
745743
}
746744
}

0 commit comments

Comments
 (0)
Please sign in to comment.