r/reactjs • u/acemarke • May 03 '18
Beginner's Thread / Easy Question (May 2018)
Pretty happy to see these threads getting a lot of comments - we had over 200 comments in last month's thread! If you didn't get a response there, please ask again here!
Soo... Got questions about React or anything else in its ecosystem? Stuck making progress on your app? Ask away! We’re a friendly bunch. No question is too simple.
The Reactiflux chat channels on Discord are another great place to ask for help as well.
25
Upvotes
View all comments
Show parent comment
2
u/brncbb May 04 '18
It somewhat depends on whether the callback uses
this, and what it expectsthisto be. If the callback doesn't usethisat all, it's more a matter of personal preference. I'd say the best practice is whatever makes the most sense to you and anyone you're working with :) For me, the arrow function is easier to skim.