This repository lists common Javascript design patterns with examples. It is based from different sources all listed below.
- Factory
- Factory Method
- Abstract Factory
- Builder
- Prototype //
- Singleton
- Adapter
- Bridge
- Composite
- Decorator
- Facade
- Flyweight
- Proxy
- Chain of Responsibility
- Command
- Iterator
- Mediator
- Memento
- Observer
- Visitor
- Strategy
- State
- Template Method
- Module pattern
- Container/Presentation pattern
- High order component pattern
- Render props pattern
- Hooks pattern
- Provider pattern
- Compound pattern
- Bundling & Compiling
- Static & Dynamic Imports
- Browser Hints: Prefetch & Preload
- Core Web Vitals
- Client-Side & Static Rendering
- Incremental Rerendering & SSR