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 commit 6f6e375.
  • Loading branch information
rickhanlonii committed Apr 24, 2024
1 parent 6bf89d9 commit 490702d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<d7190ab854f8773414d6c6f329023c5e>>
* @generated SignedSource<<5657642071f954739542e489d20fe745>>
*/

'use strict';
Expand All @@ -27,7 +27,7 @@ if (
}
var dynamicFlagsUntyped = require('ReactNativeInternalFeatureFlags');

var ReactVersion = '19.0.0-canary-086a539f';
var ReactVersion = '19.0.0-canary-bbf3fbcd';

// Re-export dynamic flags from the internal module.
var dynamicFlags = dynamicFlagsUntyped; // We destructure each value before re-exporting to avoid a dynamic look-up on
Expand Down Expand Up @@ -1640,8 +1640,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
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9f2eebd807bf53b7d9901cf0b768762948224cae
6f6e375fce9d0700434f863f70f0e2e5ea180426

0 comments on commit 490702d

Please sign in to comment.