From fcc9b19b7342978755c9a22df81a7a96b9cfc70c Mon Sep 17 00:00:00 2001 From: Rick Hanlon Date: Tue, 23 Apr 2024 22:24:00 -0400 Subject: [PATCH] Create short link for jsx warning --- packages/react/src/jsx/ReactJSXElement.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/react/src/jsx/ReactJSXElement.js b/packages/react/src/jsx/ReactJSXElement.js index 9fea14ae5cf7b..81f50489204f0 100644 --- a/packages/react/src/jsx/ReactJSXElement.js +++ b/packages/react/src/jsx/ReactJSXElement.js @@ -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', ); } }