javascript-tutorial / javascript-tutorial/server
Page gets slow and laggy on scrolling to the comments section
- 主要言語
- JavaScript
- スター
- 475
- フォーク
- 149
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi, I'm reading the en tutorial and as I'm new to js I couldn't find out the reason for the slow and sluggish behavior in the browser whenever I scroll to the comments section of every tutorial page. But it's there, the cursor stops changing, the waiting circle around the favicon in the tab bar starts to turn and the chrome says do you want to exit the page in a dialogue. So I thought maybe you have an idea how to fix this behavior; maybe by showing the comments on a button click or by reducing the number of requests sent to the server simultaneously when scrolling to the comments section if that's the case.
Thanks for the great tutorial!
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、英語のチュートリアルページのコメントセクションまでスクロールしたときの遅延を再現し、そこで発生するリクエストを調べます。Issue では、コメントの読み込みとリクエスト量が原因の可能性として挙げられていますが、ファイルやテストについては触れられていません。完了条件は、ブラウザーの警告ダイアログが表示されず、スクロールの応答性が維持されることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- performance, web-dev
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100