Combining existing design patterns to fit different use cases

Modifying and extending patterns doesn't mean that we must forge ahead into terra incognita. It is still advisable to use well-known patterns when tackling new problems.

In this recipe, we'll see how to combine two patterns to better fit a given use case.

Get ECMAScript Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.