Detect Page Refresh In React Js Interview