azat-co / react-quickly

Source code for React Quickly [Manning, 2017]: Painless Web Apps with React, JSX, Redux, and GraphQL 📕
http://reactquickly.co
MIT License
544 stars 423 forks source link

Could you explain the use of console.dir binding? #9

Open sinewave440hz opened 7 years ago

sinewave440hz commented 7 years ago

Hi Azat, got as far as Chapter 6 :) Just curious, would you mind clarifying the reasoning behind console.dir(event, this) binding in (for example) Listing 6-2? Eslint is saying that this binding is unnecessary in my project (I have a generic react project open for experimentation where I just added the same event handlers as shown in the listing). Thanks.