Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Routing in Angular Applications #33

@reboottime

Description

@reboottime

Overview

This article discusses the routing essentials of large Angular applications, with content organized in two parts:

  • Part I: URL Design for Single Page Applications

    • General guideline on design SPA URLs
    • An Example about SPA URL design
  • Part II: Common Routing Requirements

    • URL-Driven Code organization and code splitting
    • Authentication / RBAC on URL
      • Integrate Ngrx and store authenticated user data at root level, reducing the need for unnecessary HTTP requests to fetch the current user.
  • PART III: Code Organization and Routing


References

  1. lazy loading (lazy loading helps keep initial bundle sizes smaller, which in turn helps decrease load times.)
  2. Functional Guards ( replace deprecated CanActivate interface)
  3. Angular application folder structure guideline

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions