Skip to content

Instantly share code, notes, and snippets.

View amitai10's full-sized avatar

amitai amitai10

View GitHub Profile
@amitai10
amitai10 / this_in_react.md
Created November 18, 2016 20:52
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