Avoid serving legacy Javascript to modern browsers

オープン
#120 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript

調査の方向性

まず dist/js/frontend.js とリンクされている GTMetrix レポートを確認し、報告されている Array.prototype.includes の使用に焦点を当てます。レポートが実際の legacy-JavaScript 配信の問題を特定しているのか、それとも誤検知なのかを判断します。調査結果が確認されて対応済みになるか、該当しないことが明確に文書化されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

help wanted
Describe the bug

My GTMetrix performance report is reporting "Avoid serving legacy Javascript to modern browsers" for /dist/js/frontend.js, specifically for Array.prototype.includes (although this might be incorrectly reported).
Would it be possible to investigate?

Steps to Reproduce

More info here: https://gtmetrix.com/avoid-serving-legacy-javascript-to-modern-browsers.html

Screenshots, screen recording, code snippet

CleanShot 2023-07-05 at 15 20 05@2x

Environment information

No response

WordPress information

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
主要言語
PHP
スター
30
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

10up/Ad-Refresh-Control のほかの issue

10up/Ad-Refresh-Control の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。