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