inDepth.dev
  • Our Manifesto
Subscribe
Tagged

decorators

A collection of 4 posts

Overview of OOP patterns implementation in JavaScript
javascript

Overview of OOP patterns implementation in JavaScript

Design Patterns need to be used for code that is highly maintainable, reusable and organised. Gang of Four comes with 23 unique design patterns, which can be used across platforms. Let's learn how Gang of Four can be implemented in JavaScript.

  • Divya D Dev
Divya D Dev Feb 3, 2022 • 12 min read
Attaching new behaviors through decorators in JavaScript
decorators

Attaching new behaviors through decorators in JavaScript

In this article, we will learn about decorators and two different techniques for their implementation - functioning and class-based.

  • Varvara Sandakova
Varvara Sandakova Dec 22, 2021 • 7 min read
How to use TS decorators to add caching logic to API calls
angular

How to use TS decorators to add caching logic to API calls

In this article I'll go over a couple of possible implementations of network requests caching and I'll elaborate on the one we adopted that uses TS decorators.

  • Maksym Honchar
Maksym Honchar Apr 7, 2021 • 6 min read
Implementing custom component decorator in Angular
angular

Implementing custom component decorator in Angular

Let's take a look under the hood of the component decorator mechanism in Angular. We'll learn how it works in JavaScript, why Angular uses it and how to implement a custom one.

  • Max Koretskyi
Max Koretskyi May 29, 2017 • 3 min read
inDepth.dev © 2023
Powered by Ghost