Erick Wendel
10 must-know design patterns for JS Devs
#1about 5 minutes
Introduction to JavaScript design patterns
The talk addresses common issues in JavaScript development like single-file apps and global state by applying established design patterns.
#2about 3 minutes
Organizing code with a service, view, and controller
Refactor a single-file application into separate service, view, and controller layers using the single responsibility principle and a factory for instantiation.
#3about 3 minutes
Using the abstract factory for multi-platform support
The abstract factory pattern enables sharing a common codebase across different platforms like web and command-line by abstracting platform-specific implementations.
#4about 2 minutes
Building complex objects with builder and fluent interface
The builder pattern simplifies the construction of complex objects by breaking it into steps, while the fluent interface pattern allows for chainable method calls.
#5about 2 minutes
Creating robust tests with the test data builder pattern
The test data builder pattern helps create maintainable tests by centralizing the creation of mock data and entities for various test scenarios.
#6about 2 minutes
Implementing the observer pattern for event-driven code
The observer pattern allows multiple objects to subscribe and react to events, decoupling the publisher from its subscribers for tasks like logging and analytics.
#7about 4 minutes
Injecting logic dynamically with the decorator pattern
Implement the decorator pattern in vanilla JavaScript to add functionality like performance measurement to existing functions without altering their core logic.
#8about 4 minutes
Processing large datasets with the iterator pattern and streams
Use the iterator protocol with streams and the `yield` keyword to process data on demand, preventing UI blocking and improving performance with large datasets.
#9about 3 minutes
Audience Q&A on patterns, typescript, and frameworks
The speaker answers audience questions about private class fields, using patterns with frameworks like React Native, and the rationale for teaching vanilla JavaScript over TypeScript.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
44:31 MIN
How to introduce new patterns like event sourcing
Seven Myths, Three Reasons, One Goal
07:42 MIN
Using application design patterns for system resilience
Azure-Well Architected Framework - designing mission critical workloads in practice
35:31 MIN
Implementing advanced patterns for resilience and decoupling
Cloud-nativeApplications- What’s the buzz about
26:11 MIN
How atomic design prevents common frontend anti-patterns
Building a large, complex product from the ground up with typescript & Atomic Design:lessons learned
00:42 MIN
A brief history of the micro-frontend architectural pattern
Micro-frontends anti-patterns
33:55 MIN
Audience Q&A on practical micro-frontend challenges
Micro-frontends anti-patterns
25:57 MIN
Recognizing the cyclical nature of web development trends
The Lean Web
03:19 MIN
How web standards evolve by learning from frameworks
Keith Cirkle of GitHub on React Fatigue
Featured Partners
Related Videos
Antipatterns - nemesis of software development
Mustafa Toroman
Multiple Ships to the Island - Micro Frontends & Island Architectures
Florian Rappl
Micro-frontends anti-patterns
Luca Mezzalira
A Guide To Functional Programming
Jemima Abu
Design Principles For The Web
Jeremy Keith
The 2025 State of JavaScript Testing
Daniel Afonso
Things I learned while writing high-performance JavaScript applications
Michele Riva
What the heck do "declarative" and "reactive" actually mean?
André Kovac
From learning to earning
Jobs that call for the skills explored in this talk.

Software Engineer
tree-IT GmbH
Bad Neustadt an der Saale, Germany
Remote
€54-80K
Intermediate
Senior
Java
TypeScript
Spring Boot

Angular Developer
Picnic Technologies B.V.
Amsterdam, Netherlands
Intermediate
Senior
RxJS
Angular
TypeScript

Senior Java Developer
Picnic Technologies B.V.
Amsterdam, Netherlands
Senior
Java
Spring
Amazon Web Services (AWS)

Senior PHP Developer (NL based only)
Online Payment Platform
Delft, Netherlands
€75-95K
Senior
PHP
MySQL
Laravel

Lead Full-Stack Engineer
Hubert Burda Media
München, Germany
€80-95K
Intermediate
Senior
React
Vue.js
Node.js
MongoDB
+1
![Senior Software Engineer [TypeScript] (Prisma Postgres)](https://wearedevelopers.imgix.net/company/283ba9dbbab3649de02b9b49e6284fd9/cover/oKWz2s90Z218LE8pFthP.png?w=400&ar=3.55&fit=crop&crop=entropy&auto=compress,format)
Senior Software Engineer [TypeScript] (Prisma Postgres)
Prisma
Remote
Senior
Node.js
TypeScript
PostgreSQL

Lead Fullstack Engineer AI
Hubert Burda Media
München, Germany
€80-95K
Intermediate
React
Python
Vue.js
Langchain
+1

Principal Backend Engineer (Node.js)
Almedia
Berlin, Germany
€80-110K
Senior
NestJS
Node.js
Express
TypeScript
+1
