SOLID design principles were invented by Robert C. Martin (also known as Uncle Bob) Following this principle leads to better maintenance of the code and minimizes potential side effects. In this article, I will be introducing you to these principles with examples written in TypeScript. All examples are available on this Github repository.
Table of contents
SOLID Principles in TypeScriptSingle Responsibility Principle (SRP)Open-Close Principle (OCP)Liskov Substitution Principle (LSP)Interface Segregation PrincipleDependency Inversion Principle (DIP)Unlock 10x development with independent components5 Comments
Sort: