Skip to content

Instantly share code, notes, and snippets.

Avatar

amitai amitai10

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

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