title: How To Create Worker in React
body: <p>I'm trying to create a worker in an app created from create-react-app using react 16.8.6 and yarn 1.16.0. If I use
      <code>const backgroundWorker = new Worker('../assets/js/myWorker.js');</code></p>
  
  <p>I get the console error: Uncaught SyntaxError: Unexpected token &lt;</p>
  
  <p>But I know that is the correct path. This works fine in Angular. Is there a good tutorial on how to create a worker in React?</p>