© 2023 Hashnode
#solid
S: Single Responsibility Principle A class or function should have one and the only reason to change. Each class should do one thing & do it well. Instead of thinking that we should split code because it would look cleaner in a single file,…
Previous articles on SOLID Principles Single Responsibility Principle Open Closed Principle Liskov's Substitution Principle Interface Segregation Principle What is DIP? DIP (Dependency Inversion P…
What is ISP? Segregation means keeping things separated, and the Interface Segregation Principle is about separating the Interfaces. The principle states that many client-specific interfaces are bet…
In the last article, we talked about Open-Closed Principle which is one of the key concepts in OOP that enables us to write robust, maintainable and reusable software components. But following the rul…
This is a quick guide to getting started with the full-blown reactive JavaScript framework, coming from the perspective of a React Developer. Comprehensive guide coming soon, watch out! Steps Step 1 c…
The Open-Closed Principle (OCP) can be be described this way: A software component should be open for extension but closed for modification. In other words, when requirements change, the module shou…
Solid, decentralization without blockchain I'm passionate about decentralized solutions. I believe that they are the future of our society and economy. And I'm not alone in this belief; many of my fri…
The Single Responsibility Principle (SRP) can be described this way: A module should have only one responsibility, and only one, reason to change. Unfortunately, this sentence is difficult to unders…
Every software component should have one and only one responsibility. There are two concepts that can help us understand more the meaning of the Single Responsibility Principle: I. Cohesion Cohesion is the degree to which the various parts…
There are different ways for state managment in SolidJS, one of them is to use a Store. In this example we create a Store for a fruit shop, the Store has 3 different products. import { render } from "…