Browsing: js

As we saw in the previous article, decorators are just the Higher-Order components that add extra functionality to the passed component and return a new enhanced component. Before we get to our homework, let’s dive deep and understand how decorators and mixins work.

Scopes as used in many programming languages defines how accessible variables, functions or objects are. In this article, we’d get to understand how scopes are used in Javascript