title: React Uncaught ReferenceError: Buffer is not defined
body: <p>I created a React project by running npx create-react-app my-app</p>
  <p>I installed mqtt-react-hooks</p>
  <h2>I added the App script</h2>
  <pre><code>import { Connector } from 'mqtt-react-hooks';
  
  import Status from './Status';
  
  function App() {
      return (
          &lt;Connector
            brokerUrl=&quot;mqtt://127.0.0.1:80/&quot;
            parserMethod={(msg) =&gt; msg} // msg is Buffer
          &gt;
            &lt;Status /&gt;
          &lt;/Connector&gt;
    );
  }
  
  export default App;
  </code></pre>
  <hr />
  <p>I get this error in the console</p>
  <p><img src="https://i.stack.imgur.com/fbKNs.png" alt="image" /></p>