Skip to content

Commit fcc9b19

Browse files
committed
Create short link for jsx warning
1 parent 6f18664 commit fcc9b19

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)