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.
Hubert Burda Media
München, Germany
€80-95K
Intermediate
Senior
JavaScript
Node.js
+1
Matching moments
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
03:31 MIN
The value of progressive enhancement and semantic HTML
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
08:07 MIN
Exploring modern JavaScript performance and new CSS features
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
11:32 MIN
The industry's focus on frameworks over web fundamentals
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
09:00 MIN
Navigating the growing complexity of modern CSS
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
03:05 MIN
Building collaborative design tools and the neo-brutalism trend
Slopquatting, API Keys, Fun with Fonts, Recruiters vs AI and more - The Best of LIVE 2025 - Part 2
11:10 MIN
The only frontend stack that truly matters
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
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
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Code Healers LLC
Hinesville, United States of America
Remote
€30-40K
Intermediate
Senior
.NET
React
JavaScript
+2

Code Healers LLC
Hinesville, United States of America
Remote
€20-30K
Junior
Intermediate
React
JavaScript
TypeScript
+1

Visonum GmbH
Remote
Junior
Intermediate
React
Redux
TypeScript

Eltemate
Amsterdam, Netherlands
Intermediate
Senior
TypeScript
Automated Testing
Continuous Integration

Confideck GmbH
Vienna, Austria
Remote
Intermediate
Senior
Node.js
MongoDB
TypeScript


Douglas GmbH
Düsseldorf, Germany
Intermediate
Senior
React
TypeScript

MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
Angular
TypeScript
