The Decorator Pattern attaches additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.
-
Updated
Jan 15, 2021 - TypeScript
The Decorator Pattern attaches additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.
The strategy pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets the algorithm vary independently from the clients that use it.
NPM Module. Enable the events/actions communication between Micro Frontend/UI applications. Vanilla javascript implementation. Framework agnostic. CI/CD release train. 100% meaningful unit test coverture.
A factory method handles object creation and encapsulates it in subclass. This decouples the client code in the superclass from the object creation code in the subclass.
The observer pattern defines a one-to-many dependency between objects so that when one object changes state,all of its dependents are notified and updated automatically.
Add a description, image, and links to the desing-principles-and-methods topic page so that developers can more easily learn about it.
To associate your repository with the desing-principles-and-methods topic, visit your repo's landing page and select "manage topics."