reactkungfu.com/2015/07/why-and-how-to-bind-methods-in-your-react-component-classes

Preview meta tags from the reactkungfu.com website.

Linked Hostnames

6

Thumbnail

Search Engine Appearance

Google

https://reactkungfu.com/2015/07/why-and-how-to-bind-methods-in-your-react-component-classes

Why and how to bind methods in your React component classes?

React v0.13 introduced a major change in how you can define your component classes. What was a React-bound class system was slimmed down to a level where the pure JavaScript classes can be used. It has many benefits - your component classes are not 'magical' anymore, you can take advantage of the common JavaScript idioms and so on. This change emphasized that React is JavaScript - and React authors don't want to escape this truth. That change encourages you to use language features, not custom solutions to create your React code. For people coming from different background than JavaScript / Node.js using some language features can be confusing. One of those confusing features is function context binding in JavaScript. In this blogpost I want to explain how and why you need to do it.



Bing

Why and how to bind methods in your React component classes?

https://reactkungfu.com/2015/07/why-and-how-to-bind-methods-in-your-react-component-classes

React v0.13 introduced a major change in how you can define your component classes. What was a React-bound class system was slimmed down to a level where the pure JavaScript classes can be used. It has many benefits - your component classes are not 'magical' anymore, you can take advantage of the common JavaScript idioms and so on. This change emphasized that React is JavaScript - and React authors don't want to escape this truth. That change encourages you to use language features, not custom solutions to create your React code. For people coming from different background than JavaScript / Node.js using some language features can be confusing. One of those confusing features is function context binding in JavaScript. In this blogpost I want to explain how and why you need to do it.



DuckDuckGo

https://reactkungfu.com/2015/07/why-and-how-to-bind-methods-in-your-react-component-classes

Why and how to bind methods in your React component classes?

React v0.13 introduced a major change in how you can define your component classes. What was a React-bound class system was slimmed down to a level where the pure JavaScript classes can be used. It has many benefits - your component classes are not 'magical' anymore, you can take advantage of the common JavaScript idioms and so on. This change emphasized that React is JavaScript - and React authors don't want to escape this truth. That change encourages you to use language features, not custom solutions to create your React code. For people coming from different background than JavaScript / Node.js using some language features can be confusing. One of those confusing features is function context binding in JavaScript. In this blogpost I want to explain how and why you need to do it.

  • General Meta Tags

    5
    • title
      Why and how to bind methods in your React component classes? - React Kung Fu
    • charset
      utf-8
    • viewport
      width=device-width,initial-scale=1
    • X-UA-Compatible
      IE=edge,chrome=1
    • description
      React v0.13 introduced a major change in how you can define your component classes. What was a React-bound class system was slimmed down to a level where the pure JavaScript classes can be used. It has many benefits - your component classes are not 'magical' anymore, you can take advantage of the common JavaScript idioms and so on. This change emphasized that React is JavaScript - and React authors don't want to escape this truth. That change encourages you to use language features, not custom solutions to create your React code. For people coming from different background than JavaScript / Node.js using some language features can be confusing. One of those confusing features is function context binding in JavaScript. In this blogpost I want to explain how and why you need to do it.
  • Open Graph Meta Tags

    5
    • og:title
      Why and how to bind methods in your React component classes?
    • og:type
      article
    • og:site_name
      React Kung Fu
    • og:description
      React v0.13 introduced a major change in how you can define your component classes. What was a React-bound class system was slimmed down to a level where the pure JavaScript classes can be used. It has many benefits - your component classes are not 'magical' anymore, you can take advantage of the common JavaScript idioms and so on. This change emphasized that React is JavaScript - and React authors don't want to escape this truth. That change encourages you to use language features, not custom solutions to create your React code. For people coming from different background than JavaScript / Node.js using some language features can be confusing. One of those confusing features is function context binding in JavaScript. In this blogpost I want to explain how and why you need to do it.
    • og:image
      https://blog-arkency.imgix.net/~text?bg=C41D48&fit=max&h=315&txt=Why%20and%20how%20to%20bind%20methods%20in%20your%20React%20component%20classes%3F&txtalign=middle%2Ccenter&txtclr=FFF&txtfont=Georgia%2CBold&txtpad=30&txtsize=42&w=640
  • Twitter Meta Tags

    7
    • twitter:card
      summary
    • twitter:card
      summary_large_image
    • twitter:image:src
      https://blog-arkency.imgix.net/~text?bg=C41D48&fit=max&h=315&txt=Why%20and%20how%20to%20bind%20methods%20in%20your%20React%20component%20classes%3F&txtalign=middle%2Ccenter&txtclr=FFF&txtfont=Georgia%2CBold&txtpad=30&txtsize=42&w=640
    • twitter:site
      @reactkungfu
    • twitter:creator
      @killavus
  • Link Tags

    3
    • alternate
      https://reactkungfu.com/atom.xml
    • stylesheet
      /assets/style/stylesheet.css
    • stylesheet
      //netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css

Links

6