Selectors with Injection

595 views Asked by At

Is possible to inject some service within a selector in NGXS? Since its static I'm not sure how. I know probably it should be avoided but in certain cases injecting a service such as logger or config can be useful and I'm not sure if this can be done.

Checked several docs but didn't find any yet. Any help would be appreciated, thanks.

0

There are 0 answers