Group the page into modules and consolidate routing. Implement selective preloading strategy to optimize app size and fine-tune performance.
Proposed Module Hierarchy
The proposed hierarchy needs to be updated with the latest workflow changes before being implemented.
OnboardModule
- Landing pages
- Registration pages for Volunteer & Quarantined
MainModule
- Maps page
- Request creation pages
- Request handling pages
MiscModule
- My Profile pages - edit/save
Additional Context
Go through the workflow and discuss on slack https://xd.adobe.com/spec/6a2c4d00-a356-4885-5e8d-a4379323a760-1c1d/grid/
Refer
https://ionicframework.com/docs/angular/navigation#lazy-loading-routes
https://ionicframework.com/blog/how-to-lazy-load-in-ionic-angular/