Yukkuricraft / YakumoDash

Webtool for managing all Yukkuricraft software infrastructure
0 stars 0 forks source link

Refactor ngrx/rxjs usage #7

Open remiscarlet opened 2 years ago

remiscarlet commented 2 years ago

It's getting kinda gross. Split things out into features or something.

remiscarlet commented 2 years ago

We should make an auth check before trying to retrieve data from the API in ngrx effects.

More specifically we immediately setAvailableEnvs$ on initializeApp when we should have an authcheck listen for initializeApp and activate setAvailableEnvs$ and co upon successful auth.