Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C covid19india-react
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • covid19india
  • covid19india-react
  • Issues
  • #347
Closed
Open
Issue created Mar 29, 2020 by Administrator@rootContributor

Infinite faq.json network calls when FAQ page is loaded

Created by: kousiksatish

Describe the bug I was inspecting the network calls when I identified that infinite number of faq.json calls are being made when we stay in that page.

To Reproduce

  1. Navigate to https://www.covid19india.org/faq d
  2. Open dev tools of chrome
  3. Observe network calls. Infinite number of faq.json calls are being made

Expected behavior Single faq.json call is sufficient

Screenshots Screen Shot 2020-03-29 at 11 46 50 PM

Desktop (please complete the following information):

  • OS: Mac
  • Browser: Chrome

Additional context On first look, I feel it is related to useEffect in faq.js

Assignee
Assign to
Time tracking