I am a software engineer who uses both Vue.js and React. Technologies like Vue Composition API and React Hooks have really saved my life.
On the other hand, due to the very complex data processing tasks in the application I maintain, I wrote a lot of service classes to help me complete these tasks. But I found something inconvenient is that I have to manually manage the initialization of these classes and their dependencies.
I have used server-side frameworks such as Nest and Spring, and technologies like dependency injection have solved this problem well. So I was thinking, is there…
Try it yourself.