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
  • Merge requests
  • !1429

Fix: Rendering unnecessary district table rows

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/abhishekakade/table-perf into master Apr 22, 2020
  • Overview 9
  • Commits 2
  • Pipelines 0
  • Changes 3

Created by: abhishekakade

Description of PR

  • Fixes the unnecessary district information being rendered on initial page load. Table will now render only the states information and will render districts information only when user clicks or taps on the state name/s.
  • The number of DOM elements rendered on initial page load went down from 4800 to less than 1500.
  • Will help reduce render time and main thread work load and overall performance.

Type of PR

  • Bugfix

Relevant Issues
Closes #1428 (closed)

Checklist

  • Compiles and passes lint tests
  • Properly formatted
  • Tested on desktop
  • Tested on phone
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/abhishekakade/table-perf