Skip to content

Refactor: DevRank Viewport Lazy Loading & Routing #9105

@tobiu

Description

@tobiu

Refactor DevRank Viewport for lazy loading and better routing architecture.

Tasks:

  1. Create apps/devrank/view/home/MainContainer.mjs to encapsulate the Home view (Grid + Controls).
  2. Update apps/devrank/view/Viewport.mjs:
    • Use lazy loading (module: () => import(...)) for Home and Learn views.
    • Remove activeIndex: 0 to allow the controller to handle routing.
  3. Update apps/devrank/view/ViewportController.mjs:
    • Add defaultHash: '/home'.

Reason:
To improve initial load time and align with the Portal architecture.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions