Check out example codes for ".net mvc c# alert to client browswer window". It will help you in understanding the concepts better.

Code Example 1

return Content("<script language='javascript' type='text/javascript'>alert('Thanks for Feedback!');</script>");

Learn ReactJs, React Native from akashmittal.com