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
  • #1652
Closed
Open
Issue created Apr 29, 2020 by Administrator@rootContributor

Main JS chunk file size can be reduced by chunking components that are not rendered on initial page load

Created by: abhishekakade

Describe the bug Components like DeepDive, States, PatientDB, Resources, FAQ are not rendered on initial page load. So they can be chunked into individual chunk files and loaded and rendered as needed. Currently they are all inside one big main chunk file and it is slowing down the initial page load and rendering.

Expected behavior Components are chunked into separate files instead of one big JS file.

Additional context This can be fixed with React.Lazy and React.Suspense.

Assignee
Assign to
Time tracking