ReactJS - get json object data from an URL
<p>How do I get data from an URL into ReactJS.</p>

<p>The url is of the following type:
<a href="http://www.domain.com/api/json/x/a/search.php?s=category" rel="noreferrer">http://www.domain.com/api/json/x/a/search.php?s=category</a></p>

<p>which, if typed in a browser, will display a json object.</p>

<p>How do I load it to ReactJS.</p>

<p>To start with, I started by:</p>

<pre><code>const dUrl = "http://www.the....";

console.log(dUrl);
</code></pre>

<p>but obviously it displays the url not the content (which, I will be able to filter - it's just this initial step of loading it into an object that I don't know)</p>

<p>Edit: I'd rather not use jQuery.</p>