when to use arrow function in render react component code example
Example: react arrow funvtion
//declaring arrow function
hello = () => {
return "hello world";
}
//declaring arrow function
hello = () => {
return "hello world";
}