javascript-tutorial / javascript-tutorial/server

Page gets slow and laggy on scrolling to the comments section

Open
#80 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
475
Forks
149
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the lag while scrolling to the comments section of an English tutorial page and inspect the requests triggered there. The issue mentions possible comment-loading and request-volume causes, but no files or tests; done means scrolling remains responsive without the browser warning dialog.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
performance, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.