javascript-tutorial / javascript-tutorial/server

Page gets slow and laggy on scrolling to the comments section

未關閉
#80 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
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

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。