DEV Community

Discussion on: Advanced Blazor State Management Using Fluxor, part 6 - Persisting State

Collapse
padnom profile image
padnom

You right. It was a shorthand to explain what I do
In my code I use it for display username (string)
var login = loginSate.Value.LoginBackOffice;
if (login.Status == EnumStateLogin.NotInstantiate)
{
return await loginSessionStorage.GetLoginAsync(); ;
}
return login;