intershop / intershop-pwa

The Intershop PWA is an Angular based progressive web app storefront for the Intershop Commerce Platform.
https://www.intershop.com/progressive-web-app
MIT License
159 stars 85 forks source link

refactor: rework account-profile-user component #1673

Closed dhhyi closed 5 months ago

dhhyi commented 6 months ago

PR Type

[X] Refactoring (no functional changes, no API changes)

What Is the Current Behavior?

AccountProfileUserComponent uses currentUser$ as an Observable input and subscribes to it on the template to use it synchronouslly in the TS file. Both of this is considered bad practice.

What Is the New Behavior?

Refactored using RxState and reintroduced normal Component Input.

Does this PR Introduce a Breaking Change?

[ ] Yes [X] No

Other Information

AB#96966