title: Playing alert sound in React app
body: <p>I'm sure this question has been asked a million times but for some reason I can't find it here on SO. I must be using the wrong keywords.</p>
  
  <p>How do I play an audio alert of my own in my <code>React</code> app which has a messaging feature and I simply want an audible notification when a new message arrives. I found one npm package but it seems to come with a whole bunch of things I don't need.</p>
  
  <p>I have a small <code>WAV</code> file of my own and I simply want to play it when a new message for the user arrives.</p>
  
  <p>Do I need to use an external library to be able to invoke a <code>play</code> method of sorts? Or is there a built-in way to play an audio file in <code>JavaScript</code> or <code>ReactJs</code>?</p>