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

DiffTrain build for [6f6e375](6f6e375)
  • Loading branch information
rickhanlonii committed Apr 24, 2024
1 parent 3aec5d5 commit fe8c683
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6f18664b82b61d34b30c794a151d7b032f8eabe0
6f6e375fce9d0700434f863f70f0e2e5ea180426
5 changes: 2 additions & 3 deletions compiled/facebook-www/React-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (
) {
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
var ReactVersion = '19.0.0-www-classic-ece5ea17';
var ReactVersion = '19.0.0-www-classic-e47f6d99';

// Re-export dynamic flags from the www version.
var dynamicFeatureFlags = require('ReactFeatureFlags');
Expand Down Expand Up @@ -1710,8 +1710,7 @@ function createElement(type, config, children) {
!('key' in config)) {
didWarnAboutOldJSXRuntime = true;

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');
warn('Your app (or one of its dependencies) is using an outdated JSX ' + 'transform. Update to the modern JSX transform for ' + 'faster performance: https://react.dev/link/new-jsx-transform');
}
}

Expand Down
5 changes: 2 additions & 3 deletions compiled/facebook-www/React-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (
) {
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
var ReactVersion = '19.0.0-www-modern-367021cf';
var ReactVersion = '19.0.0-www-modern-3c57619e';

// Re-export dynamic flags from the www version.
var dynamicFeatureFlags = require('ReactFeatureFlags');
Expand Down Expand Up @@ -1713,8 +1713,7 @@ function createElement(type, config, children) {
!('key' in config)) {
didWarnAboutOldJSXRuntime = true;

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');
warn('Your app (or one of its dependencies) is using an outdated JSX ' + 'transform. Update to the modern JSX transform for ' + 'faster performance: https://react.dev/link/new-jsx-transform');
}
}

Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/__test_utils__/ReactAllWarnings.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fe8c683

Please sign in to comment.