Skip to content

Setup Overall App Routing Using GoRouter #28

@breadoncee

Description

@breadoncee

Description:

Currently, the app's routing is not optimized for scalability and ease of management. To improve this, we have started implementing GoRouter for structured, declarative routing across the application. GoRouter will provide a cleaner and more scalable way to handle navigation and state restoration.

Progress So Far:

  • The initial setup of GoRouter has been started, and core dependencies have been added to the project.
  • Some basic routes, such as home and login screens, have already been defined using GoRouter.

Benefits of Using GoRouter:

  • Declarative Routing: GoRouter offers a clean and structured way to define routes, making navigation easier to manage and understand.
  • State Restoration: GoRouter provides built-in state restoration, ensuring the app's state is maintained across sessions.
  • Scalability: Better suited for large apps, GoRouter simplifies route management as the app grows in complexity.

Objectives:

  • Complete the migration of all routes to GoRouter.
  • Define remaining routes such as settings, profile, and other feature-specific pages.
  • Ensure smooth state restoration when navigating back and forth between routes.
  • Remove the legacy routing system and clean up redundant code.
  • Refactor the navigation flow where necessary to align with GoRouter’s structure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions