Skip to content

refactor: use a single source of User data#105

Merged
ktos merged 8 commits intomainfrom
refactor
Mar 13, 2026
Merged

refactor: use a single source of User data#105
ktos merged 8 commits intomainfrom
refactor

Conversation

@ktos
Copy link
Copy Markdown
Member

@ktos ktos commented Mar 13, 2026

Instead of passing User data like their Inventory and Equipment between all the components hierarchy, there is now a single source of truth, the UserService, populated in the GamePage.razor for the single time, and then used everywhere instead of component parameters.

@ktos ktos merged commit 47fd89c into main Mar 13, 2026
1 check passed
@ktos ktos deleted the refactor branch March 13, 2026 13:51
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