-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i18n loader script: load script in the footer and defer it. (#38929)
* i18n loader script: load script in the footer and defer it. Related conversation: p55Cj4-3qL-p2 * Add 'add_data' mock * Remove defer strategy It won't be needed: #38929 (review) * Also add react-jsx-runtime to be loaded in footer See #38929 (review) Co-authored-by: Brad Jorsch <[email protected]> * Add test to ensure add_data is being called See #38929 (comment) * Update changelog --------- Co-authored-by: Brad Jorsch <[email protected]>
- Loading branch information
Showing
3 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: changed | ||
|
||
i18n loader script & React JSX runtime: load scripts in the footer. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters