Skip to content

Instantly share code, notes, and snippets.

amitai amitai10

Block or report user

Report or block amitai10

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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

You can’t perform that action at this time.