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.