Replies: 1 comment
-
Hi Anders, thanks for asking! The
When I started creating the app, I was hoping to be able to use This is why I decided to use a lightweight dependency injection container. Resolver strikes a nice balance of being extremely lightweight yet powerful, and to this day I use it in many of my apps. Now, obviously you could implement this differently - for example, you could configure the Hope this helped understand why I chose this path. Feel free to ask if anything is unclear. Cheers, |
Beta Was this translation helpful? Give feedback.
-
What is the benefit of dependency injection with Resolver instead of simply calling that class directly?
in both cases the class can be part of the state, so is it because the client class only loads part of the service class to save memory or is there something else going on?
Beta Was this translation helpful? Give feedback.
All reactions