Thank you for your comment. It is precious to receive feedback.
I agree, but dependency injection is only part of the "big picture" of how to develop scalable applications.
I, too, have moved on from the "let's use hooks to do everything, even the coffee" phase, but over time I think this (while perhaps keeping the architecture simpler) complicates the application code, not simplifies it.
Dependency injection is the first step that leads us to write clean and scalable code. In a future article, I could elaborate on this aspect.
I'm not convinced these principles are suitable for the back end but not the front end.
It takes some training to understand them and put them into practice, but this is precisely what we do on the back end for new developers joining the team! Why shouldn't we do them on the front end as well? Gone are the years when we used JavaScript to make "two cute animations," nowadays, we use it to create real complex applications, so I don't understand the difference.
I remain available for further clarification. If you want to discuss this further, let me know.