title: how to display data in table using json in react js?
body: <p>i have JSON like <a href="http://31.216.37.143:8080/beautyappeal_dev/resources/util/category" rel="nofollow noreferrer">this</a></p>
  
  <p>i want to use this JSON and display data in Table using react js.</p>
  
  <p>this is how i display data from JSON file.</p>
  
  <pre><code>import React, { Component } from 'react';
  import data from './data.json';
  
  class App extends Component {
    render() {
      return (
          &lt;ul&gt;
          {
            data.map(function(movie){
              return &lt;li&gt;{movie.id} - {movie.title}&lt;/li&gt;;
            })
          }
          &lt;/ul&gt;
      );
    }
  }
  
  export default App;
  </code></pre>
  
  <p>how to load JSON from URL and display it in table using reactjs?</p>