r/eli5_programming • • Sep 12 '22

ELI5 the difference between Dependency Injections / Injections VS regular imports in JS

Beside the singleton pattern pro, can one explains me like i'm 5 pretty much what the title says? Thanks a ton

2 Upvotes

2 comments sorted by