#utilities-store
1 messages · Page 1 of 1 (latest)
You can expose functions to this.container.utilities.<your thing>. As per the readme example it would be this.container.utilities.sum.add(...). If you want to put raw strings in there use public class properties or getters.
So yes I suppose you're right. It's a bit of a niche thing for people who don't like many imports. I don't use it personally.
I thought about giving it a try, if it made it easier then using a service setup. though doing business logic as a service is a good way to go. I'll try to read up on it more and see if this is something I want to move to. Thank you