title: Autodesk forge-dataviz-iot-react-components Viewer
body: <p>I want to build a web with Autodesk forge viewer by Reactjs,
  I found a doc like:
  <a href="https://forge.autodesk.com/en/docs/dataviz/v1/developers_guide/npm_packages/react_components/" rel="nofollow noreferrer">https://forge.autodesk.com/en/docs/dataviz/v1/developers_guide/npm_packages/react_components/</a></p>
  <p>here is the code:</p>
  <p>App.js</p>
  <pre><code>import React from 'react';
  import ReactDOM from 'react-dom';
  import axios from 'axios';
  import { Viewer } from 'forge-dataviz-iot-react-components';
  
  const root = document.getElementById('root');
  const App = () =&gt; {
      return (
          &lt;h1&gt;
              React
              &lt;Viewer
                  docUrn='dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bG50X2ZvcmdlXzI2cDlrYWl0aW1wdnB1NXRtZ21yaXJnbTFzOW8ydHZkL2xudC5pZmM'
                  getToken={async () =&gt;
                      await axios.get('http:localhost:3001/api/getToken')
                          .then(res =&gt; res.json())
                          .then(data =&gt; data.access_token)
                  }
              /&gt;
          &lt;/h1&gt;
      )
  }
  
  ReactDOM.render(&lt;App /&gt;, root);
  </code></pre>
  <p>when I run npm start, the compile has no problem, but the browser console display this:</p>
  <pre><code>bundle.js:2 Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
  
  bundle.js:2 Uncaught Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
  </code></pre>
  <p>does anyone can help me?</p>