Why does the two methods in the following React snippet behave differently?

前端 未结 0 720
忘掉有多难
忘掉有多难 2020-12-08 02:12

So, I am just starting to learn react and I am confused when to bind a method in React.

Consider the following code snippet, here I\'ve a component n

相关标签:
回答
  • 消灭零回复
提交回复
热议问题