Skip to content

Instantly share code, notes, and snippets.


amitai amitai10

View GitHub Profile
amitai10 /
Created Nov 18, 2016
How to use "this" keyword in JavaScript in general and react in particular

Using "this” in react functions

JavaScript is great, but comparing to other programing languages it has many confusing parts. One of them is the use of this.

In this blog post I will explain how to use it right, and what are the tools that JavaScript provide us to ease the use of it. In the end, I will focus on react.

3 types of functions