TLDR
"Dependency Inversion Principle" says: high level modules should not depend on low level modules; both should depend on abstractions. "Details should depend upon abstractions," says author. "Single responsibility" principle says: "abstractions don't depend on details" This principle is the last part of the SOLID Principles in JavaScript series in JavaScript. If you haven't read the previous three (first part, second part, third part, fourth part), I highly recommend to read them first and come back.via the TL;DR App
no story
Written by serhiirubets | I'm a Fullstack JS engineer with 10 years of experience.
Also, I'm a mentor, teacher, and author of front-end courses.