HomeReactJS INTERVIEW QUESTIONSWhat is the correct way to attach the function 'go' to a click event? Facebook ReactJS Interview Question What is the correct way to attach the function 'go' to a click event? Facebook ReactJS Interview Question 0 Vikas 03:43 var yo = function () { alert('go'); }; Ans: <button onClick={yo}></button> Tags React.Js INTERVIEW QUESTIONS PDF ReactJS INTERVIEW QUESTIONS Newer Older