Software Design Patterns in JavaScript

Tom Nagle
4 min readMay 13, 2020

Imagine coming across the same problem multiple times and having to re-develop a solution for it every time. That would be exhausting, it may even be confusing for those around you and your solution would never get the chance to be optimised. Instead, we use patterns to solve problems. In everyday life we call these heuristics, in software development we call them design patterns.

The design patterns in this post have examples in this repository: https://github.com/tomanagle/JavaScript-design-patterns

--

--

Tom Nagle

I am a full stack JavaScript developer, living in Melbourne, Australia. My preferred stack is Mongoose, TypeScript, Node.js, React & GraphQL.