DEV Community

loading...

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

Collapse
alexmelw profile image
Alex Melvin

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

Collapse
tracycss profile image
Jane Tracy 👩🏽‍💻 Author

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