Skip to content

refactor(state): Migrate project and task state to NgRx #9

@Zafar7645

Description

@Zafar7645

User Story: As a developer, I want to manage the application's state in a predictable and centralized way to handle complexity as the app grows.

Acceptance Criteria:

  • Add NgRx libraries (@ngrx/store, @ngrx/effects, @ngrx/entity) to the Angular project.
  • Create a state slice for projects, including actions, reducers, and effects for fetching and modifying projects.
  • Create a state slice for tasks, including actions, reducers, and effects.
  • Refactor the DashboardComponent and ProjectViewComponent to get their data from the NgRx store using selectors instead of calling services directly.
  • Dispatch actions to the store to trigger API calls for all CRUD operations.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions