What is an arrow function and how is it used in React?
13 August 2021 11:27
An arrow function is a short way of writing a function to React.
It is unnecessary to bind
inside the constructor when using an arrow function. This prevents bugs caused by the use of
in React callbacks.