DEV Community

Discussion on: 20 Basic React Questions to help you as you learn

Collapse
 
alexmelw profile image
Alex Melvin • Edited

In case you wonder what are the arrow functions:
(x) => ({}) is equivalent to function(x) { return {} }.bind(this)

Collapse
 
tracycss profile image
Jane Tracy 👩🏽‍💻

Yeah, I read about it in free code camp. But using arrow functions is easier.