React Cookbook
上QQ阅读APP看书,第一时间看更新

How it works...

As you can see, you have two options to bind methods in your React components. The constructor option is most commonly used at the moment, but the arrow functions are getting more popular. You decide which binding option you like the most.