Create short link for jsx warning (#28899)

Short link created in https://github.com/reactjs/react.dev/pull/6772
This commit is contained in:
Ricky
2024-04-24 09:32:11 -04:00
committed by GitHub
parent 6f18664b82
commit 6f6e375fce
+1 -3
View File
@@ -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',
);
}
}