javascript-tutorial / javascript-tutorial/server

Page gets slow and laggy on scrolling to the comments section

Ouverte
#80 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
475
Forks
149
Métriques de merge des PR
Aucune PR mergée en 30 j

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!

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Commencez par reproduire le ralentissement lors du défilement jusqu’à la section des commentaires d’une page de tutoriel en anglais, puis examinez les requêtes déclenchées à cet endroit. L’issue mentionne comme causes possibles le chargement des commentaires et le volume de requêtes, mais ne précise aucun fichier ni test ; le travail est considéré comme terminé lorsque le défilement reste réactif sans afficher la boîte de dialogue d’avertissement du navigateur.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript
Domaine
performance, web-dev
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.