Get It - Simple direct Service Locator that allows to decouple the interface from a concrete implementation and to access the concrete implementation from everywhere in your App. Maintainer: @escamoteur
You can use a code generation package like injectable. It will auto-generate registrations of your singletons/factories + it has some advanced use cases.
When I setup up my singletons I do them as follows
As the services grows in the app, registering them like this will become an overhead Is there a way to register all of them at once ?