Skip to main content

One doc tagged with "decorator design pattern"

View All Tags

Decorator Design Pattern

The decorator pattern is a JS structural pattern that promotes code reusability. They, like Mixins, can be viewed as a replacement for object sub-classing.