Making REST calls from a react component : <p>I am trying to make REST call from a react component and render the returned JSON data into the DOM</p>

<p>Here is my component</p>

<pre><code>import React from 'react';

export default class ItemLister extends React.Component {
    constructor() {
        super();
        this.state = { items: [] };
    }

    componentDidMount() {
        fetch(`http://api/call`) 
            .then(result=&gt; {
                this.setState({items:result.json()});
            });
    }

    render() {        
        return(
           WHAT SHOULD THIS RETURN?
        );
    }
</code></pre>

<p>In order to bind the returned json in a DOM?</p>
