javascript-tutorial / javascript-tutorial/server
Page gets slow and laggy on scrolling to the comments section
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 475
- Forks
- 149
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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!
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die Verzögerung beim Scrollen zum Kommentarbereich einer englischsprachigen Tutorial-Seite zu reproduzieren, und untersuche die dabei ausgelösten Requests. Das Issue erwähnt mögliche Ursachen durch das Laden von Kommentaren und das Anfragevolumen, aber keine Dateien oder Tests; abgeschlossen ist die Arbeit, wenn das Scrollen ohne den Browser-Warndialog reaktionsfähig bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- performance, web-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100