Skip to content

Feat/refactor signals state#191

Open
Kimiti4 wants to merge 3 commits intoitalanta:mainfrom
Kimiti4:feat/refactor-signals-state
Open

Feat/refactor signals state#191
Kimiti4 wants to merge 3 commits intoitalanta:mainfrom
Kimiti4:feat/refactor-signals-state

Conversation

@Kimiti4
Copy link

@Kimiti4 Kimiti4 commented Nov 29, 2025

Converted budget components from RxJS observables to Angular Signals.

  • Benefits of Signals:
    • Fine-grained reactivity
    • Declarative and simpler than async pipe subscriptions
    • Computed values allow derived state

  • Key changes:
    • SelectBudgetPageComponent uses inject(), signal(), computed(), and effect().
    • BudgetTableComponent now receives signals and reacts directly.

  • Comparison with RxJS:
    • Signals are simpler for this UI scenario.
    • RxJS is still better for complex async streams or multiple event sources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant