As a rule, it’s good to have stateless components and maintain state in the service, especially in components added by the router, so moving from it and then returning to the route does not discard the data.
Therefore, to your question: Services should not be stateless. They often happen, but this is not required.
You can use the NGRX Store to save this state, but also the service.
I will need to take care of where the service was provided to know how long the condition lasts.
, , . . , , @NgModule() ( ), , end .