title: use plugin International Telephone Input in react
body: <p>I'm very new to react and I just want to use this <a href="https://github.com/jackocnr/intl-tel-input" rel="noreferrer">https://github.com/jackocnr/intl-tel-input</a> plugin in my form. But in the documentation says to use pure js input id query selector to use plugin. But how can I change this kind of code to react usage.</p>
  
  <p>code example in doc:</p>
  
  <pre><code>&lt;input type="tel" id="phone"&gt;
  &lt;script src="path/to/intlTelInput.js"&gt;&lt;/script&gt;
  &lt;script&gt;
    var input = document.querySelector("#phone");
    window.intlTelInput(input);
  &lt;/script&gt;
  </code></pre>