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